Rounds a numeric value to the nearest power of 10 toward positive infinity.
10
input value
rounded value
var v = ceil10( 3.141592653589793 ); // returns 10.0
var v = ceil10( 9.0 ); // returns 10.0
var v = ceil10( -0.314 ); // returns -0.1
Rounds a numeric value to the nearest power of
10
toward positive infinity.