In MariaDB, RADIANS()
is a built-in function that returns its argument converted from degrees to radians.
The RADIANS()
function is the converse of the DEGREES()
function.
In MariaDB, RADIANS()
is a built-in function that returns its argument converted from degrees to radians.
The RADIANS()
function is the converse of the DEGREES()
function.
In MariaDB, DEGREES()
is a built-in function that returns its argument converted from radians to degrees.
The DEGREES()
function is the converse of the RADIANS()
function.
In MariaDB, FLOOR()
is a built-in numeric function that returns the largest integer value not greater than its argument.
In MariaDB, CEIL()
is a built-in numeric function that returns the smallest integer value not less than its argument.
CEIL()
is a synonym for CEILING()
.
In MariaDB, CEILING()
is a built-in numeric function that returns the smallest integer value not less than its argument.
In MariaDB, ATAN2()
is a built-in numeric function that returns the arctangent (inverse tangent) of its two arguments.
In MariaDB, ATAN()
is a built-in numeric function that returns the arctangent (inverse tangent) of its argument.
In other words, it returns the value whose tangent is the argument.
Continue readingIn PostgreSQL, you can use the to_number()
function to convert a string to a numeric value.
More specifically, it converts the string representation of a number to a numeric value.
For example, if you have $1,234.50
as a string, you can use to_number()
to convert that to an actual number that uses the numeric data type.
If you need to convert a number from decimal to octal (base 8), two functions come to mind if you’re using MySQL. One function is specifically for doing octal conversions, the other is for doing conversions between different bases. These are as follows:
OCT()
CONV()
More about these two functions below.