Jump to content

[SOLVED] only display two numbers??


ball420

Recommended Posts

I want to display the only two numbers after I multiply. example when multiplying 54.89 * .07 the answer is 3.8423 i only want to echo two numbers after the decimal. Is there a way to do this? Can somone guide me in the right direction I have tried to search google and just can't seem to find anything. thanks in advance for the guidance

Link to comment
https://forums.phpfreaks.com/topic/111597-solved-only-display-two-numbers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.