doctor_james Posted November 29, 2007 Share Posted November 29, 2007 Hi . how can I shorten a decimal fraction , for example : 1.2392399417447694 to this : 1.23923999 . thanks in advance . Quote Link to comment https://forums.phpfreaks.com/topic/79414-javascript-question/ Share on other sites More sharing options...
obsidian Posted November 29, 2007 Share Posted November 29, 2007 Check this out: http://forums.cnet.com/5208-6615_102-0.html?forumID=34&threadID=169186&messageID=1871450 Or this: http://www.mredkj.com/javascript/nfbasic2.html Quote Link to comment https://forums.phpfreaks.com/topic/79414-javascript-question/#findComment-402129 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.