[Truffle] Removed Math.floor and Math.ceil calls since JVM truncation seems to provide the same semantics.