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 17:38:47 +1300
on Sat, 21 Dec 2002 16:36:25 +1300 i wrote:
>
run script "(999308635802549 as number)"
>
--> 9.99308635802549E+14
silly me, I was thinking of {record} as string which doesn't work either.
to |no round big n to text|(n)
try
n's string
on error m
tid("of ")
set nStr to (m's text item 2)'s text 1 thru -2
tid("")
return nStr
end try
end |no round big n to text|
|no round big n to text|(9.99308635802549E+14)
--> "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.