Talk:Commatizing numbers: Difference between revisions

From Rosetta Code
Content added Content deleted
 
(→‎several numbers in the input: commatize or not for 2000.)
Line 2: Line 2:


shouldn't 2000 become 2,000 ? --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 05:07, 11 April 2014 (UTC)
shouldn't 2000 become 2,000 ? --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 05:07, 11 April 2014 (UTC)

: If you're referring to the 4<sup>th</sup> string to be commatized ''===US$0017440 millions'''..., then no. &nbsp; The 1<sup>st</sup> numberic string is '''0017440''', not '''2000''' (which is the 2<sup>nd</sup> numeric string). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 05:26, 11 April 2014 (UTC)

Revision as of 05:26, 11 April 2014

several numbers in the input

shouldn't 2000 become 2,000 ? --Walterpachl (talk) 05:07, 11 April 2014 (UTC)

If you're referring to the 4th string to be commatized ===US$0017440 millions'..., then no.   The 1st numberic string is 0017440, not 2000 (which is the 2nd numeric string). -- Gerard Schildberger (talk) 05:26, 11 April 2014 (UTC)