PHP: number_format

Tuesday, September 11th, 2007 at 10:36 am | Blog

Manual

eg:

$usd_total = $total * 0.2857;
$tmp_total = number_format($usd_total, 2, ‘.’, ‘’);

    Post a Comment

    Your email is never published nor shared. Required fields are marked *

    *
    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>