RSS Forums RSS
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Help with making decimals show up always

Join Date: Jan 2007
Posts: 2,712
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 123
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Help with making decimals show up always

  #2  
Nov 15th, 2007
Use the method
variablename.toFixed(2)
in your statement placing the value in the field (Where 'variablename' is, put the name of your variable).
Last edited by MidiMagic : Nov 15th, 2007 at 2:25 am.
Daylight-saving time uses more gasoline
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:11 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC