I want to ask if how does my Amount output has a ',' semicolon.
Here is my code:
$Amount = round(($Hours/8)* $Rate, 2);
the output of this code is: 3884.34
I want the output is : 3,884.34
Thank you
$Amount = round(($Hours/8)* $Rate, 2);
|
|
|
$Amount = round(($Hours/8)* $Rate, 2); echo number_format($Amount, 2, ".", ",");
0 members, 1 guests, 0 anonymous users