Fixed problem with float/int division