Jump to content

Signature cash


Artjom

Recommended Posts

Hello all,

problem with the calculation of money after the decimal point a lot of numbers, an example 63.3333 (see photo), how to do that was not 63.3333, but only two digits after the decimal point, example 63.33

thanks in advance for your help!

Regards 

Artjom

post-424-009794200 1276724717_thumb.png

Link to comment
Share on other sites

Guest lorathon

I am not sure of the variable but something like this should work

round($moneyVariable, 2)

This would round the $moneyVariable to 2 places after the decimal

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...