{aReal} as integer
{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