Thanks,
and if I say 2 decimals, the function returns
2,00
how to cut the final zeros (and also the ',' if last char), to obtain
2?
Or num: 2.450 -> 2,45 (also if I said 4 decimals)
Thanks
Ben Cairns wrote:
> This should tell what you need to know:
> http://www.php.net/manual/en/function.number-format.php
>
> -- Ben Cairns - Head Of Technical Operations
> intasept.COM
> Tel: 01332 365333
> Fax: 01332 346010
> E-Mail: [EMAIL PROTECTED]
> Web: http://www.intasept.com
>
> "MAKING sense of
> the INFORMATION
> TECHNOLOGY age
> @ WORK......"
--
==================================================================
Valerio Ferrucci Tabasoft Sas
[EMAIL PROTECTED] http://tabasoft.ancitel.it
[EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]