[5.50] FormatNumber() thousands separator

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: [5.50] FormatNumber() thousands separator

Post by Dude »

ts-soft wrote:+1 (it is the same as what i say with my thread)
Sorry ts-soft, I just skimmed the posts after the first couple. :|
Wikipedia wrote:(for example: 20 000 and 1 000 000 for "twenty thousand" and "one million")
Oh, the irony -- Wikipedia has to explain what 20 000 means with words. :lol:
DontTalkToMe
Enthusiast
Enthusiast
Posts: 334
Joined: Mon Feb 04, 2013 5:28 pm

Re: [5.50] FormatNumber() thousands separator

Post by DontTalkToMe »

Dude wrote: I agree, which is why it should use the default OS thousands separator, as I just mentioned. Makes perfect sense and stops any arguing. ;)
But having TWO new functions returning the TWO separators to be used HERE with this function to specify the defaults from the OS, and usable anywhere else too would be a lot better.
Dude wrote: I just skimmed the posts after the first couple.
http://www.purebasic.fr/english/viewtop ... 30#p489230

You could also use them to write a better function than this trivial one by yourself.
Dude wrote: Oh, the irony -- Wikipedia has to explain what 20 000 means with words. :lol:
Well, that's required when formally introducing a new form of something even if its meaning it's obvious but LOL anyway :P
Post Reply