Is there a way to surpress round() or number_format() from rounding
decimal places?
I have a value of .253338 being returned via a calc function.
I take that value and multiply by 100 because I want 25.333 to be
displayed.
I've used round(), sprintf(), and number_format() and each of them
* Thus wrote Rob Yelvington ([EMAIL PROTECTED]):
Is there a way to surpress round() or number_format() from rounding
decimal places?
I have a value of .253338 being returned via a calc function.
I take that value and multiply by 100 because I want 25.333 to be
displayed.
I've used
Curt, thanks for the reply and the suggestion. Truncating is exactly
what I will do.
Thanks!
~Rob
Curt Zirzow wrote:
* Thus wrote Rob Yelvington ([EMAIL PROTECTED]):
Is there a way to surpress round() or number_format() from rounding
decimal places?
I have a value of .253338 being returned
3 matches
Mail list logo