• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: BIG number as string [NOT duplicate]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: BIG number as string [NOT duplicate] (From: julifos <email@hidden>)

  • Prev by Date: Re: BIG number as string
  • Next by Date: Re: BIG number as string
  • Previous by thread: Re: BIG number as string [NOT duplicate]
  • Next by thread: Reading nested key-value pairs in plist
  • Index(es):
    • Date
    • Thread