|
snoop Newbie
Joined: 21 Feb 2004 Posts: 9 Location: Sweden
|
Posted: Tue Nov 16, 2004 4:05 am
Decimals , to . eheh |
Greets.
I have a problem. When i use floats i get "," as a decimal sign thing instead of ".". I'm guessing this is due to the fact that it's a standard in sweden (where i am) or something and isn't really zMUD's fault but maybe someone else have had this problem and solved it. Or maybe someone just knows how to solve it anyway.
This makes it hard to use the %format function since it takes the decimal value as another argument. ie 2.23 becomes 2,23 and '23' is recognized as a second (or third) argument.
Thx
*/Snoop |
|
_________________ |
|
|
|
Oracle Apprentice
Joined: 29 May 2002 Posts: 121
|
Posted: Tue Nov 16, 2004 5:15 am |
Try the %replace() function.
|
|
|
|
snoop Newbie
Joined: 21 Feb 2004 Posts: 9 Location: Sweden
|
Posted: Tue Nov 16, 2004 8:52 am |
Actually it was a setting in win xp. Namely in the language settings you could change the sign from , to .
So there you have it if anyone else has the same problem. |
|
_________________ |
|
|
|
|
|