newphpbees
19 Mar 2012, 11:29 PM
Hi..
I used this code for displaying formatted number and I notice that instead comma(,) it become point(.):
$P28_maxdoz = $row['P28_maxdoz'];
$P28_maxdoz = number_format($P28_maxdoz, 2, '.', ',');
<table>
<tr>
<td><input type='text' name='P28_maxdoz' value="<?php echo $P28_maxdoz;?>"></td>
</tr>
</table>
the output is : 22.782.20
i need output is : 22,782.20
Thank you
I used this code for displaying formatted number and I notice that instead comma(,) it become point(.):
$P28_maxdoz = $row['P28_maxdoz'];
$P28_maxdoz = number_format($P28_maxdoz, 2, '.', ',');
<table>
<tr>
<td><input type='text' name='P28_maxdoz' value="<?php echo $P28_maxdoz;?>"></td>
</tr>
</table>
the output is : 22.782.20
i need output is : 22,782.20
Thank you