Run »
With no decimals: %1\$u",array($number)); echo $txt; ?>
With 2 decimals: 123.00
With no decimals: 123