Re: Convert long number to string
Re: Convert long number to string
- Subject: Re: Convert long number to string
- From: Christopher Stone <email@hidden>
- Date: Sat, 17 Apr 2004 16:55:47 -0500
At 09:48 -0600 04/17/2004, Gnarlodious wrought:
I seem to recall a discussion about this recently but the archives aren't up
and running.
set longNumber to to "1082204521"
set exponent to longNumber as number --> 1.082204521E+9
set numberString to exponent as string --> "1.082204521E+9"
I want to convert the exponent to long number before converting it to a
string.
______________________________________________________________________
I prefer to use the Satimage osax for this sort of thing:
set longNumber to "1082204521"
set exponent to longNumber as number --> 1.082204521E+9
set x to format exponent into "############.##########"
--> 1082204521.0
Chris
_______________________________________________
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.