Math and Trig Functions Flashcards
CONVERT(Expression, Datatype)
Converts an expression of one data type to another.
RADIANS(angle)
Converts degrees to radians.
DEGREES(angle)
Converts radians into degrees.
SIGN(number)
Determines the sign of a number, the result of a calculation, or a value in a column. The function returns 1 if the number is positive, 0 (zero) if the number is zero, or -1 if the number is negative.
CURRENCY(value)
Evaluates the argument and returns the result as currency data type.
DIVIDE(numerator, denominator[,alternateresult])
Performs division and returns alternate result or BLANK() on division by 0.
QUOTIENT(numerator, denominator)
Performs division and returns only the integer portion of the division result. Use this function when you want to discard the remainder of division.
MROUND(number, multiple)
Returns a number rounded to the desired multiple.
RAND()
Returns a random number greater than or equal to 0 and less than 1, evenly distributed. The number that is returned changes each time the cell containing this function is recalculated.
RANDBETWEEN(bottom,top)
Returns a random number in the range between two numbers you specify.
EXP(number)
Returns e raised to the power of a given number. The constant e equals 2.71828182845904, the base of the natural logarithm.
EVEN(number)
Returns number rounded up to the nearest even integer. You can use this function for processing items that come in twos. For example, a packing crate accepts rows of one or two items. The crate is full when the number of items, rounded up to the nearest two, matches the crate’s capacity.
ODD(number)
Returns number rounded up to the nearest odd integer.
ABS(number)
Returns the absolute value of a number.
ACOS(number)
Returns the arccosine, or inverse cosine, of a number. The arccosine is the angle whose cosine is number. The returned angle is given in radians in the range 0 (zero) to pi.
ASIN(number)
Returns the arcsine, or inverse sine, of a number. The arcsine is the angle whose sine is number. The returned angle is given in radians in the range -pi/2 to pi/2.
ATAN(number)
Returns the arctangent, or inverse tangent, of a number. The arctangent is the angle whose tangent is number. The returned angle is given in radians in the range -pi/2 to pi/2.
LOG10(number)
Returns the base-10 logarithm of a number.
COS(number)
Returns the cosine of the given angle.