Thanks !
abs() will not work for me, because I may have na negative numbers, but with
round() it worked !
10x
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Rosen wrote:
>
> > I use some numbers from mysql table and other local vars to calculate
one
> > number.
>
Rosen wrote:
I use some numbers from mysql table and other local vars to calculate one
number.
But on one calc I receive thath $value=4.5474735088646E-013;
This must be zero (0) - I see all vars and calc then with calculator. I use
function number_format($value, 2, ".", "" ) and it return me -0.00
Hi,
I have following problem:
I use some numbers from mysql table and other local vars to calculate one
number.
But on one calc I receive thath $value=4.5474735088646E-013;
This must be zero (0) - I see all vars and calc then with calculator. I use
function number_format($value, 2, ".", "" ) and it
3 matches
Mail list logo