I would like to suggest that $calc support an interger-divide operator, such as \, to produce a whole number when dividing.

Examples:
$calc(9 \ 2) == $int($calc(9 / 2)) == 4
$calc(9 \ 2 * 4) == $calc($int($calc(9 / 2)) * 4) == 16
$calc(23 \ 2 \ 2 \ 2) == $int($calc($int($calc($int($calc(23 / 2)) / 2)) / 2)) == 2

I believe I've seen this method implimented in various languages as either \ or //.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!