Not really a bug as it does what the help file says it does.

But i always thought a integer value was the next whole number below what ever number you have.

$int(%x) doesnt do this of course