In MySQL, the TRUNCATE()
function truncates a value to a specified number of decimal places.
The function accepts two arguments; the value, and the number of decimal places to truncate that value to.
All numbers are rounded toward zero.
In MySQL, the TRUNCATE()
function truncates a value to a specified number of decimal places.
The function accepts two arguments; the value, and the number of decimal places to truncate that value to.
All numbers are rounded toward zero.
In MySQL, the TAN()
function returns the tangent of a value.
You provide the value as an argument when calling the function.
In MySQL, the SQRT()
function returns the square root of a nonnegative number.
You provide the number as an argument when calling the function.
In MySQL, the SIN()
function returns the sine of a given value, where the value is given in radians.
The sine is a trigonometric function of an angle. The sine of an acute angle is defined in the context of a right triangle: for the specified angle, it is the ratio of the length of the side that is opposite that angle to the length of the longest side of the triangle (the hypotenuse).
In MySQL, the SIGN()
function returns the sign of a number. That is, it indicates whether or not the value is a positive number, a negative number, or zero.
You provide the value as an argument when calling the function.
The function returns the following result, depending on whether the argument is positive, negative, or zero.
In MySQL, the POW()
function raises a number to the power of another number.
You provide the two values as arguments when calling the function.
In MySQL, the MOD()
function performs a modulo operation. It returns the remainder of a number divided by another number.
You provide the two values as arguments when calling the function.
In MySQL, the LOG10()
function returns the base-10 logarithm of a specified value.
You provide the specified value as an argument when calling the function.
In MySQL, the LOG2()
function returns the base-2 logarithm of a specified value.
You provide the specified value as an argument when calling the function.
In MySQL, the LOG()
function returns the natural logarithm of a specified value.
You provide the specified value as an argument when calling the function.