Returns the greatest common divisor for a set of integers.
Category: | Mathematical |
Returned data type: | DOUBLE |
specifies any valid expression that evaluates to a numeric value.
Requirement | At least two arguments are required. |
Data type | DOUBLE |
See | <sql-expression> |
FedSQL Expressions |
Statements
|
Results
|
---|---|
select gcd(5,15); |
5 |
select gcd(36,45); |
9 |