-
Clock expression Mod
I am using the expression
rate = 5023.4;
clockStart = 0;function padZero(n){
if (n < 10) return "0" + n else return "" + n } clockTime = clockStart + rate*(time); but I would like for the decimal to be a constant "x" number of units how do I go about achieving this? Also is it possible to do the same with the front end and add zeros as buffer in the whole digits? for example frame two could be 000167.614 instead of 167.61428094714