RE: [PHP-ES] Deci Males
| From: | Santiago Tabuenca --> [MarketiNet] | Date: | Mon, 19 May 2003 08:32:51 +0000 |
| Subject: | RE: [PHP-ES] Deci Males | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-36344@lists.php.net to get a copy of this message | ||
Rounds a float (PHP 3, PHP 4 )
float round ( float val [, int precision] )
echo round(1.95583, 2); // 1.96
-----Mensaje original-----
De: --> Maximiliano Yedid <-- [mailto:yo@maximilianoyedid.com]
Enviado el: lunes, 19 de mayo de 2003 7:00
Para: lista@phpes.com
Asunto: [PHP-ES] Deci Males
como hago para mostrar un campo float con solo 2 decimales? hay alguna
funcion? gracias
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.480 / Virus Database: 276 - Release Date: 12/05/2003