x
 
<!DOCTYPE html>
<html>
<body>
<?php
$number = 123;
vprintf("保留两位小数:%1\$.2f
<br>不保留小数:%1\$u", array($number));
?>
</body>
</html>