fry2010 Posted March 18, 2009 Share Posted March 18, 2009 Hi guys. Can someone show me how to turn 0.0001 into just '1' with no decimals? I might also have values like 0.1234 so need to change that to 1234 with no decimal. Help is always appreciated. Thanks. REALY SORRY to admin. I should look a bit harder next time, i litterally just found the answer with number_format(). oops. 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.