<html>
<body>
$number = 123;
vprintf("With 2 decimals: %1\$.2f
<br>With no decimals: %1\$u",array($number));
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_string_vprintf3 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:51:08 GMT -->
</html>