I'm relativley new to PrototypeJS. I
 am doing some calculation in a back end program and returning a JSON
string to my web page. One of the values is a price. If I return
14.20, it gets converted in evalJSON to 14.2. I want to keep both
digits. I can find how to pad the left of a nmber to a certain number
of places, but can't seem to find anythig about keeping decimals out
to a set number of places.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to