- converted float calculation to integer