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