how to display cash number format in a php code?
Please give an example.
cash_system value suppose to show for example. 994.00 but instead it shows 994.
echo "Cash:", " ". $info['cash_system'];
Please see the following link.
will this work with my code or do i need to insert that number format under it?
echo "Cash:", " ". number_format($info['cash_system'], 2, '.', '');
my go to for formatting cash is: echo sprintf("%01.2f",$someFloat);
thanks this works. This will be marked as solved! Thanks everyone!
Cek this site: www.advance-web-studio.com
There is a white space underneath it that I do not know where it comes from.
this is my index.php
<a href="<?php ...
I am currently working on a program to track my mile for my monthly expense report for work. Everything is working great, however, I can not for the life of ...
I am trying to make this form to clear after being submited. As it is now the form submits, however, the input fields do not clear and when ...