Sybase Mathematical Functions

Sybase Mathematical Functions are for mathematical operations.

Sybase Mathematical Functions Syntax:

select function_name(arguments)

Function Name Description
abs Returns absolute value
acos Return angle of cosine value
asin Returns angle of sine value
atan Returns angle of tangent value
atn2 Returns angle of atan2 value
ceiling Returns the smallest integer greater than or equal to the specified value
cos Returns cosine value
cot Returns cot value
degrees To convert radians to degrees
exp To return exponential value
floor Returns the largest integer that is less than or equal to the specified value
log Returns the natural logarithm of the specified value
pi Returns 3.1415926535897931
power Returns value of numeric power
radians>

Converts degrees to radians
rand>

Returns random value between 0 and 1
round Rounds to specified digits
sign Return +ve,-ve or 0(zero)
sin Returns sine value
sqrt Squere root of given number
tan Returns Tangent Values
Powered by k2schools