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

Re: Runded Beyond Recognition


  • Subject: Re: Runded Beyond Recognition
  • From: Nigel Garvey <email@hidden>
  • Date: Tue, 24 Feb 2004 14:19:16 +0000

ehsan saffari wrote on Sat, 21 Feb 2004 18:27:46 -0600:

>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.

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

My numToStr handler would normally have been more suitable, but even it
gave the same truncated result with this number. :-( However...


Michelle Steiner wrote on Sat, 21 Feb 2004 17:45:48 -0700:

>2.45305722033565E+6 as degrees Celsius as string
>--> "2453057.22033565"

... incorporating this neat trick seems to work - at least, for numbers
with up to 15 digits in their mantissas. I don't know how reliable it'll
be in the future, but I've now posted an update to my handler on
ScriptBuilders. Thanks, Michelle. :-)

<http://scriptbuilders.net/category.php?id=1688>

By the way, I've used 'as feet as string' as it's less to type. ;-)

NG
_______________________________________________
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: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • Next by Date: Re: Stupid, Stupid Text Features [Was: Can't set creator type]
  • Previous by thread: Re: ehsan?
  • Next by thread: NSReceiverEvaluationScriptError: 4 on Airport Toggle on/off
  • Index(es):
    • Date
    • Thread