Resources For IT Professionals

# Math Functions

## +

number1 + number2

### Range

number1 + number2 ≦ 79228162514264337593543950335

JFW812

## -

number1 - number2

N/A

## *

number1 * number2

N/A

## /

number1 / number2

### Range

number1 ≧ 0.0000000000000000000000000001 while number2 = 10

GRS792

Math.Abs(number)

N/A

## ArcCos

Math.ArcCos(cosValue)

N/A

## ArcSin

Math.ArcSin(sinValue)

N/A

## ArcTan

Math.ArcTan(tanValue)

N/A

## Ceilinig

Math.Ceiling(number)

N/A

Math.Cos(angle)

N/A

## Floor

Math.Floor(number)

N/A

## GetDegrees

Math.GetDegrees(angle)

N/A

N/A

## GetRandomNumber

Math.GetRandomNumber(maxNumber)

N/A

Math.Log(number)

N/A

## Max

Math.Max(number1, number2)

N/A

## Min

Math.Min(number1, number2)

N/A

## NaturalLog

Math.NaturalLog(number)

N/A

## Power

Math.Power(baseNumber, exponent)

### Range

baseNumber ≦ 31622776 while exponent = 2

exponent ≦ 49 while baseNumber = 2

### Sample Program

FFW588 for Math.Power(31622776, 2)

## Remainder

Math.Remainder(dividend, divisor)

### Range

Math.Remainder(9007199254740992, 2)

## Round

Math.Round(number)

N/A

Math.Sin(angle)

N/A

## SquareRoot

Math.SquareRoot(number)

### Range

number ≦ 19807040628566084398385987584

## Tan

Math.Tan(angle)

### Range

N/A

Number ranges on Math functions - Small Basic (Small Basic Forum)
Smallest & largest Numbers that sb can handle (Small Basic Forum)