Re: Coercing Numbers
Re: Coercing Numbers
- Subject: Re: Coercing Numbers
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 26 Feb 2010 12:34:09 -0800
- Thread-topic: Coercing Numbers
Title: Re: Coercing Numbers
>>if I set XasText to (x as text)
>>I still get 1.2495E+4
>>How do I get this to show up as 12495 ?
This works if you know the result will be an integer
set x to 124.95 * 100 as integer
This would work too:
set x to 124.95 div 0.01
HTH,
ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden