Shoutbox

commas in number - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: commas in number (/showthread.php?tid=34990)

commas in number by saralk on 11-29-2004 at 11:28 AM

my friend suggested using number_format() to get commas in the large numbers, e.g. number of posts in a forum.


RE: commas in number by -dt- on 11-29-2004 at 12:29 PM

I dont think this really would be a nessasery thing to add because it would be hard to tell if numbers need to have commas added or numbers dont need the commas added eg in urls and things like that.


RE: commas in number by KeyStorm on 11-29-2004 at 03:16 PM

It's best not to use any symbol to group decimal sets of 3. Why?

In Europe 10³ + ½ is: 1.000,5
In USA one 10³ + ½  is:  1,000.5
SI standard for 10³ + ½ is: 1 000,5 (although the period (.) may be applied as standard for decimal separation since 1997 only in English being the comma (,) the standard separator for the rest of languages)

Way to confusing and useles to get concerned about. Anyway, we won't have anything bigger than a 10^4 number, so has very little relevance, if any at all.


FMI: http://en.wikipedia.org/wiki/Decimal_point


RE: commas in number by saralk on 11-29-2004 at 05:46 PM

ok, my friend was looking at me use the forums and wanted me to suggest it.


RE: commas in number by user27089 on 11-29-2004 at 07:45 PM

There is no longer a comma in numbers now anyway, if the answer was one thousand and you put '1,000' you would be marked down, because apparently it can be confused with the german currency or something and so you have to put it like '1 000'


RE: commas in number by KeyStorm on 11-29-2004 at 10:15 PM

quote:
Originally posted by traxor
with the german currency

Hm... German currency... Prolly Euro, ain't it :refuck:

At least English gets an (slight) approach to standars in units, great! :D