Re: BIG number as string [re-round error]
Re: BIG number as string [re-round error]
- Subject: Re: BIG number as string [re-round error]
- From: Andy Wylie <email@hidden>
- Date: Sat, 21 Dec 2002 16:36:25 +1300
on Thu, 19 Dec 2002 15:58:14 +0000 julifos wrote:
>
set z to "999308635802549" as number
>
--> 9.99308635802549E+14
>
set y to (result as text) as number
>
--> 9.993086358025E+14
>
z - y
>
--> 49.0 (49 units error in a "E+14"!)
run script "(999308635802549 as number)"
--> 9.99308635802549E+14
Smile...
display ("999308635802549" as number)
--> "9.99308635802549E+14"
_____________________________ Andy
_______________________________________________
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.