International number formats
International number formats
- Subject: International number formats
- From: Brennan <email@hidden>
- Date: Fri, 25 Feb 2005 12:53:01 +0100
I just noticed something on my machine which is (currently) set up to use
Danish number formatting. (comma for decimals, period for thousands)
"1000.0" as number -- fails with error -1700
"1.000,0" as number -- fails with error -1700
"1000,0" as number -- returns 1000.0
1000.0 as string -- returns "1000,0"
1000,0 as string --> wont compile
So it looks like AppleScript uses the English language number formats in
some cases and Danish number formats in other cases, depending on what is
getting coerced to what. Note that the 'thousand' seperator causes
trouble.
What is the intended/preferred behavior?
Brennan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden