The modulo operator % is only defined for integer numbers. The documentation in perlop could be more clear about this.
My advice is to use whole numbers, for example by multiplying all entities by 100 in your example.
In reply to Re: Operator % (mod) bug ?
by Corion
in thread Operator % (mod) bug ?
by hiX0r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |