This function returns the smaller of the two numerical values a and b as a floating point value. A non-numerical value is interpreted as 0.0. See examples below.
Parameters
Parameter | Description |
|---|---|
a | Numerical value. |
b | Numerical value. |
Examples
Parameter a | Parameter b | Result |
|---|---|---|
1 | 2 | 1.0 |
2 | 1 | 1.0 |
2 | 2 | 2.0 |
7.1 | 7 | 7.0 |
abc | 7 | 0.0 |