Re: BIG number as string [NOT duplicate]
Re: BIG number as string [NOT duplicate]
- Subject: Re: BIG number as string [NOT duplicate]
- From: Paul Skinner <email@hidden>
- Date: Wed, 18 Dec 2002 05:00:45 -0500
Cool. International testing! Thanks Julifos!
So if you want to inline that fix in the previous handler...
set AppleScript's text item delimiters to (0.1 as string)'s character 2
On Wednesday, December 18, 2002, at 05:21 AM, julifos wrote:
snip
--
Paul Skinner
Hi, Paul, all.
I've been testing this code and seems it doesn't work *here*, and it
won't
work in any system whose decimal separator is not "."... (here it is
",")...
I've changed one line an added a little handler and now works
rrrrrigth!...
set AppleScript's text item delimiters to getUserDecimalSeparator()
Instead of
set AppleScript's text item delimiters to "."
on getUserDecimalSeparator()
0.1 as string
return result's item 2
end getUserDecimalSeparator
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.