Why can't I cast this float to int?
Posted: Thu Jul 29, 2004 4:07 am
Hi.
I divide to numerics and get 33.670033670034
Then I do a ceil() and get 34
But when I try to convert/cast (float) 34 to (int) 34 I get no result...
Is there some hidden overflow or something I'm missing?
I divide to numerics and get 33.670033670034
Then I do a ceil() and get 34
But when I try to convert/cast (float) 34 to (int) 34 I get no result...
Is there some hidden overflow or something I'm missing?