Joined December 2012
·

Geo Carncross

London, United Kingdom
·
·

Posted to ~~ is faster than Math.floor() over 1 year ago

@stevenwadejr, you can use these sorts of things:

  • Math.floor: 0|n
  • Math.round: 0|n+.5
  • Math.ceil: 0|n+(n!=~~n))
Achievements
89 Karma
0 Total ProTip Views