On Sun, Feb 1, 2009 at 12:13 PM, Robert Rohde <[email protected]> wrote:
...
>
> {{#expr:floor(0.00007*100000)}} = 6
> {{#expr:0.07*100 = 7}} is False
> {{#expr:5/6 = (1/6)*5}} is False
> {{#expr:(10^16 + 1) % 10}} = 0
>

http://pt.php.net/manual/en/ref.bc.php
<?php
echo floor(bcmul("0.00007","100000"));
?>
outputs 7




-- 
--
ℱin del ℳensaje.

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to