PDA

View Full Version : decimals



flash_rookie
08-23-2003, 09:59 PM
hello,

hi, I used this preloader http://www.flashadvisor.com/movie/display/14.html

this prelaoder show the percent bytes that haven been dowlaoded.
But this number is like this 56,344565687766. Which function removes those digits behind the , ? and gives you something like this 56 or 56,3 ??

thanx

Voetsjoeba
09-01-2003, 11:19 AM
Math.round(number)