Talk:Chowla numbers: Difference between revisions

→‎"use commas within appropriate numbers": added a request to sign comments.
m (added a suggestion.)
(→‎"use commas within appropriate numbers": added a request to sign comments.)
Line 11:
 
''(This is not meant to sound harsh. Please consider that not everyone is born with an English tongue and much misunderstanding may be caused by the translation.)''
 
: Please sign your comments with a trailing: &nbsp; &nbsp; <big><big> <b> <nowiki> -- ~~~~ </nowiki> </b> </big></big> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:44, 11 March 2019 (UTC)
 
: There is a reason that people add commas to numbers --- to make then easier to read, especially if there are some numbers like 100000 10000 35000000 10000000 100000000 (just to show a few). &nbsp; It is not a useless thing to require. &nbsp; If adding commas to numbers is too complex or cumbersome, leave the task to others &nbsp; (this isn't meant to sound harsh). &nbsp; The requirement is not to make it more complicated, but to to make the output (displayed) numbers easier to read. &nbsp; The REXX solution essentially has a one-line function to add commas to integers; &nbsp; most computer programming languages have commatizing capability within the &nbsp; '''print''' &nbsp; or &nbsp; '''format''' &nbsp; statements/functions. &nbsp; Adding commas shouldn't be that difficult for most computer programming languages. &nbsp; See if the computer programming language(s) you know has/have an entry for the Rosetta Code task &nbsp; ''commatizing numbers'' &nbsp; which is a much more comprehensive task as it includes locating a suitable number (within a string) which maybe is a number expressed in a floating point expression &nbsp; (but in this Rosetta Code task, the number is a non-negative integer (that contains no leading or trailing blanks which makes it much simpler). &nbsp; That commatizing Rosetta Code task also asks to use a user-defining "period" length (normally three), a character (or characters, including a blank) to be inserted (such as a period for a European look, and not to commatize exponents of many kinds, and not to commatize leading zeros, among other things). &nbsp; Also note that some tasks require a certain format for a list of numbers, most often specifying a horizontal or vertical list to make it easier to compare the outputs of the various entries. &nbsp; Vertical formats are much more easier to read/comprehend if there are multiple numbers to be displayed (such as an index) where a columnar output would be best. &nbsp; I never thought that adding commas to (larger) numbers would be considered spicing it up. &nbsp; If there is any confusing about the task's requirements for non-English speaking programmers, one could always look at the other solutions. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:37, 11 March 2019 (UTC)