<?php $a = 1232322210.44; echo number_format ($a, 2); // English format echo "\n"; echo number_format ($a, 2, ',', '.'); // Italian format echo "\n"; ?>