Number Functions Flashcards
ABS(number)
Returns the absolute value of the given number.
Example: ABS(-7) = 7
ABS([Budget Variance]) returns absolute of all values of this field.
ACOS
Returns the arc cosine of the given number. The result is in radians.
ACOS(-1) = 3.14159265358979
ASIN
Returns the arc sine of a given number. The result is in radians.
ASIN(1) = 1.5707963267949
ATAN
Returns the arc tangent of a given number. The result is in radians
ATAN(180) = 1.5652408283942
ATAN2
Returns the arc tangent of two given numbers (x and y). The result is in radians.
Example:
ATAN2(2, 1) = 1.10714871779409
CEILING
Rounds a number to the nearest integer of equal or greater value.
COS
Returns the cosine of an angle. Specify the angle in radians.
COS(PI( ) /4) = 0.707106781186548
COT
Returns the cotangent of an angle. Specify the angle in radians.
COT(PI( ) /4) = 1
DEGREES
Converts a given number in radians to degrees.
Example:
DEGREES(PI( )/4) = 45.0
DIV
Returns the integer part of a division operation, in which integer1 is divided by integer2.
Example:
DIV(11,2) = 5
EXP
Returns e raised to the power of the given number.
Examples:
EXP(2) = 7.389
EXP(-[Growth Rate]*[Time])
FLOOR
Rounds a number to the nearest integer of equal or lesser value.
Example:
FLOOR(3.1415) = 3
HEXBINX
Maps an x, y coordinate to the x-coordinate of the nearest hexagonal bin. The bins have side length 1, so the inputs may need to be scaled appropriately.
HEXBINX and HEXBINY are binning and plotting functions for hexagonal bins. Hexagonal bins are an efficient and elegant option for visualizing data in an x/y plane such as a map. Because the bins are hexagonal, each bin closely approximates a circle and minimizes variation in the distance from the data point to the center of the bin. This makes the clustering both more accurate and informative.
Example:
HEXBINX([Longitude], [Latitude])
HEXBINY
Maps an x, y coordinate to the y-coordinate of the nearest hexagonal bin. The bins have side length 1, so the inputs may need to be scaled appropriately.
Example:
HEXBINY([Longitude], [Latitude])
LN
Returns the natural logarithm of a number. Returns Null if number is less than or equal to 0.