• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: VII Appendixes > Arithmetic Operators

Arithmetic Operators

Arithmetic operators perform mathematical operations on numeric operands to produce numeric results. The ActionScript interpreter automatically converts non-numeric operands to numbers for use with arithmetic operators.

The Special Value NaN (“Not a Number”)

If an operand used with an arithmetic operator cannot be converted into a number, FP7 will always change it to the special value NaN (“not a number”). FP6, when evaluating undefined or null in a numeric context, returns 0.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint