> Is there a way to get it to round to 1 or 2 decimal places?

Use Math.round:
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Math/round

I don't think it supports rounding to arbitrary decimal places, so use 
something like the following:
     Math.round(myNumber * 10) / 10;

HTH.


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to