sprintf: Considers the string an integer and formats it as a decimal number
|
<?
$total = 110;
$fmt_total = sprintf ("%c", $total);
echo "$fmt_total"; ?>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
PHP Function Reference -> Users Code Examples / Notes - > sprintf:
- sprintf
- vsprintf
|