• 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
Runded Beyond Recognition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Runded Beyond Recognition


  • Subject: Runded Beyond Recognition
  • From: ehsan saffari <email@hidden>
  • Date: Sat, 21 Feb 2004 18:27:46 -0600

Hi

I have a number result like this: 2.45305722033565E+6
I need to display it in non scientific form: 2453057.22033565, either as
a string or real.

set x to 2.45305722033565E+6
set y to text returned of (display dialog "Hack!" default answer x)
--> 2453057.22033565

The above works, but how can i get the coercion to work without display
dailog?

I tried Nigel Garvey's routines in aRounderRound 1.3, but the best I get
is 2453057.220336

Max number of decimal places in my number results will be 8.

cheers
ehsan
_______________________________________________
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.

  • Follow-Ups:
    • Re: Runded Beyond Recognition
      • From: Christopher Stone <email@hidden>
    • Re: Runded Beyond Recognition
      • From: Paul Berkowitz <email@hidden>
    • Re: Runded Beyond Recognition
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: Iterating over a set of FMP records with Applescript
  • Next by Date: Re: Runded Beyond Recognition
  • Previous by thread: AIM 4.7 breaks event actions
  • Next by thread: Re: Runded Beyond Recognition
  • Index(es):
    • Date
    • Thread