Have tried for hours to figure this out through various boards - don't know PHP, am trying to fill in for someone.
Would anyone be kind enough to look at this page:
http://www.interactivesystems.biz/is/tvupload.php
user: is
pass: michael11
and tell me how to make the subtotals in the "Sony Projector With Screen" section have .00 appear after them, e.g., 3875 should be 3875.00? The source code is viewable. Thank you so very much for any assistance, I am really stuck!
Keep trailing zeros with Math.round
Moderator: General Moderators
-
Paul Arnold
- Forum Contributor
- Posts: 141
- Joined: Fri Jun 13, 2008 10:09 am
- Location: Newcastle Upon Tyne
Re: Keep trailing zeros with Math.round
Code: Select all
number_format($subTotal, 2);