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

Section B.1. Arithmetic Operators

B.1. Arithmetic Operators

num1 num2add sumReturn num1 plus num2
num1 num2sub differenceReturn num1 minus num2
num1 num2mul productReturn num1 times num2
num1 num2div quotientReturn num1 divided by num2
int1 int2idiv quotientReturn int1 divided by int2 as an integer
int1 int2mod remainderReturn remainder after dividing int1 by int2
num1neg num2Return negative of num1
num1abs num2Return absolute value of num1
num1ceiling num2Return ceiling of num1
num1floor num2Return floor of num1
num1round num2Round num1 to nearest integer
num1truncate num2Remove fractional part of num1
numsqrt realReturn square root of num
anglesin realReturn sine of angle degrees
anglecos realReturn cosine of angle degrees
num denatan angleReturn arc tangent of num/den in degrees
base exponentexp realRaise base to exponent power
numln realReturn natural logarithm (base e)
numlog realReturn common logarithm (base 10)
numcvi intConvert to integer
numcvr realConvert to real



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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