Rather than making a special oddball case for %, I'd suggest a better solution would be to just add fmod() (a standard C function) to the list of numeric functions we already have.
Update: I just happened to search CPAN, and found that POSIX::2008 provides the fmod function, there may be others as well.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: modulo 1 (%1) and fractional part of a number
by roboticus
in thread modulo 1 (%1) and fractional part of a number
by JBCookin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |