Re: International number formats
Re: International number formats
- Subject: Re: International number formats
- From: Bernardo Hoehl <email@hidden>
- Date: Fri, 25 Feb 2005 09:17:54 -0300
Hi Brennan,
I face the same questions here.
We, in Brazil use commas for decimals and periods for thousants too.
And most of my maths apps tend to result in error at the first time run
and require my attention.
I looked up system preferences dictionary, and there isn't much info
there.
I was wondering if there is a lower level system access I could use to
change the number formats in system preference's international pane.
One work around would be dettecting the settings > alerting the user >
changing the formats to what I need.
But how?
Bernardo Höhl
Rio de Janeiro - Brazil
On 25 Feb, 2005, at 8:53 AM, Brennan wrote:
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:
email@hidden
This email sent to email@hidden
_______________________________________________
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