Use Math.floor otherwise Math.round to rounded down and correspond to my need with Drupal