Thousands Separator on OSX
Thierry Arbellot
thierry.arbellot at laposte.net
Sun Mar 12 03:56:24 EST 2006
here is a script to get the decimal separator:
do "get item 2 of (1.1 as string)" as appleScript
put the result into theDecimalSeparator
replace quote with empty in theDecimalSeparator
Thierry
On 2006, Mar 11, , at 22:54, Flavel Steve wrote:
>
>
>
>
> On 12/03/2006, at 1:57 AM, J. Landman Gay wrote:
>
>>> Hi Klaus
>>> This is what I get from pasting your code
>>> 2006-03-11 19:06:46.564 defaults[604]
>>> The domain/default pair of (kCFPreferencesAnyApplication,
>>> NSThousandsSeparator) does not exist
>>
>> I get the same thing. I think that means the user has not set a
>> separator in the system prefs yet, so there is no specific character
>> identified. Probably the script could assume the generic default
>> separator, a comma, is in use.
>
> I changed the settings to those typical of Germany, but I still get
> the "does not exist message".
> Is it possible to get the thousand separator, currency symbol and
> decimal symbol?
>
> Steve
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list