• 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: decimal separating point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: decimal separating point


  • Subject: Re: decimal separating point
  • From: Doug McNutt <email@hidden>
  • Date: Sun, 24 Aug 2003 06:29:16 -0600

At 06:29 +0100 8/24/03, kai wrote:
>set num to 111.645477464545
>{num as string, numToStr(num)}
>--> {"111,645477464545", "111.645477464545"}

It has nothing to do with commas and periods but please remember that about 14 significant decimal digits is a limit to IEEE double (64 bit) floating point precision. Those 5's on the right end are likely to be lost if any arithmetic is performed.


--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
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.

References: 
 >Re: decimal separating point (From: kai <email@hidden>)

  • Prev by Date: Default dir for choose file name
  • Next by Date: Re: Default dir for choose file name
  • Previous by thread: Re: decimal separating point
  • Next by thread: New Adress in Address Book
  • Index(es):
    • Date
    • Thread