Re: decimales
| From: | Antonio Jos� | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: decimales | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-40216@lists.php.net to get a copy of this message | ||
Formateando la salida de la variable por pantalla.
ej:
<? printf("%0.2f",$precio); ?>
espero que te sirva, saludos.
**************************************************************
Scanned by MailScan Anti-Virus and Content Security Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************