Test case details

Preparation Code

function toInt(value) {          return parseInt(value, 10);     }

Test cases

Test #1

Math.floor(89.938 / 293.3); Math.floor(83784 / 9289.2); Math.floor(7 / 60);

Test #2

Math.round(89.938 / 293.3); Math.round(83784 / 9289.2); Math.round(7 / 60);

Test #3

parseInt(89.938 / 293.3, 10); parseInt(83784 / 9289.2, 10); parseInt(7 / 60, 10);

Test #4

toInt(89.938 / 293.3); toInt(83784 / 9289.2); toInt(7 / 60);