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

Re: How to convert number from exponential form?


  • Subject: Re: How to convert number from exponential form?
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 12 Jan 2009 11:15:30 -0700

On Jan 12, 2009, at 10:29 AM, KOENIG Yvan wrote:

(1) I must apologize because my proposal works only if the exponent is greater than eight.

If the exponent is eight or less, and precision to zero decimal points is acceptable, the easiest way to do it is


to normalise(inputNumber)
	return inputNumber as integer as string
end normalise

-- Michelle

--
"I'll do the best I can do because that's the best I can do!"

_______________________________________________
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
References: 
 >How to convert number from exponential form? (From: Dave <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: Where to log lines go
  • Next by Date: Re: Where to log lines go
  • Previous by thread: Re: How to convert number from exponential form?
  • Next by thread: Re: How to convert number from exponential form?
  • Index(es):
    • Date
    • Thread