Oracle Numeric Functions
Numeric functions accept numeric input and return a numeric value. This page organizes commonly used Oracle numeric functions to help you with mathematical operations.
-
ABS
OracleABS()
is a built-in function that returns the absolute value of the given parameter. -
ACOS
OracleACOS()
is a built-in function that returns the arccosine of a given number. -
ASIN
OracleASIN()
is a built-in function that returns the arcsine of a given number. -
ATAN
OracleATAN()
is a built-in function that returns the arctangent of a given number. -
ATAN2
OracleATAN2()
is a built-in function that returns the arc tangent of two given arguments. -
BITAND
OracleBITAND()
is a built-in function that returns the result of a bitwise AND operation of two parameters. -
CEIL
OracleCEIL()
is a built-in function that returns the smallest integer value greater than or equal to a specified number. -
COS
OracleCOS()
is a built-in function that returns the cosine of a given radian. -
COSH
OracleCOSH()
is a built-in function that returns the hyperbolic cosine of a specified value. -
EXP
OracleEXP()
is a built-in function that returns the natural constant e raised to the power of the given parameter. -
FLOOR
OracleFLOOR()
is a built-in function that returns the largest integer value less than or equal to the specified number. -
LN
OracleLN()
is a built-in function that returns the natural logarithm of the number given by the parameter. -
LOG
OracleLOG()
is a built-in function that returns the logarithm of a given value, taking a given value as the base. -
MOD
OracleMOD()
is a built-in function that returns the remainder after dividing two specified numbers. -
POWER
OraclePOWER(x, y)
is a built-in function that returns they
power ofx
. -
REMAINDER
OracleREMAINDER()
is a built-in function that returns the remainder after dividing two specified numbers. -
ROUND(number)
OracleROUND(number)
is a built-in function that rounds a given number to a given number of decimal places. -
SIGN
OracleSIGN()
is a built-in function that returns-1
,0
, or1
to indicate the given number is negative, zero or positive. -
SIN
OracleSIN()
is a built-in function that returns the sine of a given value in radians. -
SINH
OracleSINH()
is a built-in function that returns the hyperbolic sine of a specified value. -
SQRT
OracleSQRT()
is a built-in function that returns the square root of a given number. -
TAN
OracleTAN()
is a built-in function that returns the tangent of the specified radian. -
TANH
OracleTANH()
is a built-in function that returns the hyperbolic tangent of a specified value. -
TRUNC(number)
OracleTRUNC(number)
is a built-in function that truncates the specified number to the specified precision (0 by default) and returns the result. -
WIDTH_BUCKET
OracleWIDTH_BUCKET()
is a built-in function that returns the number of a bucket which the specified value falls in.