Actionscript/Math

From Gnash Project Wiki

Jump to: navigation, search

Math

Incompatabilities

  • -undefined gives 0 in Gnash, NaN in Flash Player
  • Math.ceil(-0.5).toString() gives -0 instead of 0
  • Math.ceil(undefined) gives 0 instead of undefined (maybe other functions do this too)