• 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
{aReal} as integer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{aReal} as integer


  • Subject: {aReal} as integer
  • From: Olof Hellman <email@hidden>
  • Date: Tue, 19 Jun 2001 14:00:02 -0700

1.1 as integer
--> Error: can't make 1.1 into an integer

{1.1} as integer
--> 1

{1.9} as integer
--> 2

Is this how it is supposed to work? Seems to obey the IEEE rounding
convention ( round to nearest, and if two integers are equally near, then
round to even }

- Olof


  • Prev by Date: StayUp 1.1.2 or later
  • Next by Date: add a paragraph to the beginning of a doc
  • Previous by thread: Re: StayUp 1.1.2 or later
  • Next by thread: Re: {aReal} as integer
  • Index(es):
    • Date
    • Thread