• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scientific notation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: mac to unix path names
  • Next by Date: Re: mac to unix path names
  • Previous by thread: Re: Scientific notation
  • Next by thread: Re: Scientific notation
  • Index(es):
    • Date
    • Thread