Hi if i have a number like 2.345645 and i only require .34 how would one get only the decimal to the hundreth ?
var num = 2.345645;
.34 or .35 if rounding applied; rounding does no affect me that much so i don't care if its applied.
Thanks!
Results 1 to 3 of 3
|
Click Here to Expand Forum to Full Width |