Re: Scientific notation
Re: Scientific notation
- Subject: Re: Scientific notation
- From: has <email@hidden>
- Date: Fri, 2 May 2003 13:56:20 +0100
Jeffrey Mattox wrote:
You do good work, but all that AS for such a simple task makes me
cringe. How about this instead:
set theNumber to 3.0E-4
do shell script "perl -e 'print " & theNumber & "'"
--> "0.0003"
set theNumber to 3.0E-8
do shell script "perl -e 'print " & theNumber & "'"
--> "3.0E-8"
(nuff said)
_______________________________________________
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.