Gitex Posted December 12, 2007 Share Posted December 12, 2007 Hi in our country all prices are like 1000 & we dont have any decimal seprator like 1000.00 in PHP or JavaScript is there any way to remove all .00 in the page content ? plz help me about this problem 0 Quote Link to comment Share on other sites More sharing options...
twinbros Posted March 20, 2008 Share Posted March 20, 2008 I need too, I need in that way 12,000$ 0 Quote Link to comment Share on other sites More sharing options...
babak Posted September 17, 2008 Share Posted September 17, 2008 Hello, Did you find any solution? Thank you 0 Quote Link to comment Share on other sites More sharing options...
neil Posted October 6, 2008 Share Posted October 6, 2008 php use $var = number_format($var,0); '0' being the number of decimal places, and var being the variable that contains the value... 0 Quote Link to comment Share on other sites More sharing options...
pcdoyen Posted October 23, 2008 Share Posted October 23, 2008 where shall I apply changes? 0 Quote Link to comment Share on other sites More sharing options...
pcdoyen Posted November 7, 2008 Share Posted November 7, 2008 any progress ? 0 Quote Link to comment 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.