MUL()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Xpand
Topics on this page:
Overview
Returns the product of two numbers multiplied together.
USAGE
MUL(number1, number2)
Argument Name | Description |
---|---|
| The numbers to multiply |
DETAILS
The MUL()
function multiplies two numbers together, similar to the *
operator.
A NULL
is returned if either argument is NULL
.
EXAMPLES
SELECT MUL(10.5, 4);
+--------------+
| MUL(10.5, 4) |
+--------------+
| 42.0 |
+--------------+