Skip to content

Round Up To

Malexion edited this page Nov 3, 2016 · 1 revision

__.math.roundUpTo(value, step)

  • value Value to round to the given step, utilizing Math.ceil().
  • step Nearest step level to round to.

Examples

var result = __.math.roundUpTo(13, 5);

console.log(result);