Talk:Numeric separator syntax: Difference between revisions

From Rosetta Code
Content added Content deleted
(input, not output)
m (added a comment.)
Line 3: Line 3:


:This task is for numeric '''input''' not for numeric '''output'''. What (if any) syntax will the compiler / interpreter accept as a grouping character and still consider the input item to be a number. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 19:07, 30 August 2019 (UTC)
:This task is for numeric '''input''' not for numeric '''output'''. What (if any) syntax will the compiler / interpreter accept as a grouping character and still consider the input item to be a number. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 19:07, 30 August 2019 (UTC)

:: I gathered that,   but   '''input'''   was not explicitly stated, just inferred,   but I assumed that's what the task's author had in mind.   And the specification of numbers   ''within''   a computer program may not be considered as input   (as opposed to data being   ''read''   as/for input, for instance, from a device).     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:54, 30 August 2019 (UTC)

Revision as of 19:54, 30 August 2019

commas

This task is somewhat similar to the   Commatizing numbers   Rosetta Code task which   (among other things)   asks to insert commas   (or other characters)   for number separation   (or numeric separator syntax).   That other task does not however, address what methods/facilities are   built into   a language when displaying/formatting numbers.     -- Gerard Schildberger (talk) 19:01, 30 August 2019 (UTC)

This task is for numeric input not for numeric output. What (if any) syntax will the compiler / interpreter accept as a grouping character and still consider the input item to be a number. --Thundergnat (talk) 19:07, 30 August 2019 (UTC)
I gathered that,   but   input   was not explicitly stated, just inferred,   but I assumed that's what the task's author had in mind.   And the specification of numbers   within   a computer program may not be considered as input   (as opposed to data being   read   as/for input, for instance, from a device).     -- Gerard Schildberger (talk) 19:54, 30 August 2019 (UTC)