PDA

View Full Version : percent



izhar
February 5th, 2003, 07:45 PM
i have some problems with this script

percent = Math.floor,(getBy tesLoad()/getBy tesTotal()*100);

the error with this script is

Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: ')' expected
percent = Math.floor,(getBy tesLoad())/(getBy tesTotal()*100);


can anyone here help me with this..

kode
February 5th, 2003, 07:51 PM
if you copied and pasted the script .. then it's wrong

try this:
Math.floor((getBytesLoad()/getBytesTotal())*100)

izhar
February 5th, 2003, 08:01 PM
that was a great help..

thanks ..'

i really appreciate it..

kode
February 5th, 2003, 08:04 PM
no problem izhar =)