niche Posted August 9, 2011 Share Posted August 9, 2011 if $a - $b = 16.2Is there a function that will display the result as 16.20? If so, which one?I'd like to avoid an if statement. Link to comment Share on other sites More sharing options...
niche Posted August 9, 2011 Author Share Posted August 9, 2011 number_format() did the job. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.