Thread
:
Rounding to the lower number
View Single Post
Mar 11th, 2005, 12:35 PM
#
4
Dizzutch
Professional Programmer
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power:
4
not if you do integer division, but i don't know if you can do that in JS. IN C at least
float a = 4.3;
int b = 1;
int c = a / b;
printf("%d\n", c); // prints 4
__________________
naked pictures of you
|
PFO F@H stats
Dizzutch
View Public Profile
Visit Dizzutch's homepage!
Find More Posts by Dizzutch