Number Format Problem
Number Format Problem
- Subject: Number Format Problem
- From: John Mistler <email@hidden>
- Date: Fri, 21 Mar 2008 12:29:50 -0700
I'm trying to convert a string to a number, so that I can use it in an arithmetic function, but there is a problem:
set theAmount to "12345.00"
set theAmount to theAmount as number
log theAmount --> 1.2346E+4
How can I prevent the number from converting to this format?
Thanks,
John
_______________________________________________
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