• 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
How to convert number from exponential form?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to convert number from exponential form?


  • Subject: How to convert number from exponential form?
  • From: Dave <email@hidden>
  • Date: Mon, 12 Jan 2009 13:02:11 +0000

Hi All,

The following snippet:

tell application "iTunes"
set myCapacity to the capacity of source 4
return myCapacity
end tell

returns 1.0139648E+9, whereas what I want is the String "1013964800". If I do:

display dialog myCapacity, the vale displayed is actually what I want, e.g. 1013964800.

How can I convert an exponential number to it's normalized decimal equivalent?

Thanks in Advance
All the Best
Dave


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: How to convert number from exponential form?
      • From: Shane Stanley <email@hidden>
    • Re: How to convert number from exponential form?
      • From: Barry Wainwright <email@hidden>
    • Re: How to convert number from exponential form?
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: Assigning Quark color spec - Tiger->Leopard
  • Next by Date: Re: Calling a C Subroutine
  • Previous by thread: Re: Numbers '08
  • Next by thread: Re: How to convert number from exponential form?
  • Index(es):
    • Date
    • Thread