ownet.php use bcmath extension
dl('bcmath.so');
dl('bcmath.dll');
or... change ownet code where using bccmp function, use somethink like
if(x>y) or (x<y) or (x==y)
bcmath is a precise calculation, since some .01 and .1 values have problems
with php4, i change to bcmath to work well with php4 and php5
any problem ask again
2009/3/31 Jaap Struyk <[email protected]>
> Hello,
>
> Trying to play with ownet.php I run into:
> PHP Fatal error: Call to undefined function bccmp() in /root/ownet.php
> on line 516
> when trying to read my counter:
> $rpm_eng=($ow->read("/1D.E4D90D000000/counters.A"));
> All other sensors are fine and php has bcmath builtin, is this me doing
> something wrong?
>
> Another thing I was wondering; what is faster, ownet.php or owphp?
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Atualizado em 31/03/2009
>
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers