154
rated 0 times
[
159]
[
5]
/ answers: 1 / hits: 77886
/ 13 Years ago, thu, may 26, 2011, 12:00:00
Can someone give me an idea how can i round off a number to the nearest 0.5.
I have to scale elements in a web page according to screen resolution and for that i can only assign font size in pts to 1, 1.5 or 2 and onwards etc.
If i round off it rounds either to 1 decimal place or none.
How can i accomplish this job?
More From » javascript