Try something like:

floor($value * 100)/100;


--
Anas Mughal




On 1/9/06, Mark Steudel <[EMAIL PROTECTED]> wrote:
>
> I am calculating things like tax and want to format them so they only have
> 2
> digits past the decimal point. I've been using sprintf but just noticed
> that
> it tends to round up. I want the same functionlity without rounding.
>
> Thanks
>
>


--
Anas Mughal

Reply via email to