getTimer() with one decimal place
//as per usual I figured it out a minute after posting this thread\\
//
//method...
//
//
PHP Code:
textField = Math.round(getTimer()/100)/10;
//
//thanks anyhow (although I must admit the effect is rather jumpy\\
Quote:
Howdy
PHP Code:
textField = getTimer();
gives milliseconds, which is too busy for what I want, whereas
PHP Code:
textField = Math.round(getTimer()/1000);
gives only the integer, I would prefer it if i could see the 10ths of seconds as well, like.....
PHP Code:
textField = Math.round(getTimer()/100);
....but that leaves out the decimal point.
I could just draw in the decimal point, but that's rather sloppy, to say the least.
Does anyone have a cunning plan how I can get around this one?