NLCJ Posted June 12, 2010 Share Posted June 12, 2010 Hello, After I've been working for a little while I finally made a pretty complicated calculation. And it does give the right answers! The only problem is that it sometimes shows 3 or 4 decimals but other results have waaayyy more. How can I limit this to for example 3 decimal numbers? Regards, CJansen Quote Link to comment Share on other sites More sharing options...
NLCJ Posted June 12, 2010 Author Share Posted June 12, 2010 Okay, at first I was Googling on how to do this, but couldn't find the answer. After asking it here I thought of a different search term and I found at that this can be set with number_format. Thanks a lot though! 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.