Jump to content

Trailing zero's keep getting dropped


svgmx5

Recommended Posts

Can anyone give me a hand in  helping me figure out how to keep those trailing zero's?

 

Whats happening right now is that i have a shopping cart. Its php and mysql based.

 

Upon checking out it displays the charges...total, subtotal and shipping..however when the charge is 23.00..the zero drops..so it displays as 23, or if the charge is 32.50..it would just display as 32.5

 

Can anyone help me with this?

 

What extra steps do i have to take..and so on

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/200006-trailing-zeros-keep-getting-dropped/
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.