Hi all,
can anyone help me to round a number to its nearest 10. i have a text box in my application to display the answer of an arithmetical operation. so the requirement is that if the answer is 64 it should display as 70. if the answer is 61 the rounding should round it to its nearest highest 10. so if its 61 the answer should be 70.
i found this Math.round(value,1)*10 as a option but i dont think its is working.
any help?
--sri--
can anyone help me to round a number to its nearest 10. i have a text box in my application to display the answer of an arithmetical operation. so the requirement is that if the answer is 64 it should display as 70. if the answer is 61 the rounding should round it to its nearest highest 10. so if its 61 the answer should be 70.
i found this Math.round(value,1)*10 as a option but i dont think its is working.
any help?
--sri--