math.mMin() function
The math.mMin()
function returns the smaller of x
or y
.
Output data type: Float
import "math"
math.mMin(x: 1.23, y: 4.56)
// Returns 1.23
Parameters
x
The X value used in the operation.
Data type: Float
y
The Y value used in the operation.
Data type: Float
Special cases
math.mMin(x:x, y: -Inf) // Returns -Inf
math.mMin(x: -Inf, y:y) // Returns -Inf
math.mMin(x:x, y: NaN) // Returns NaN
math.mMin(x: NaN, y:y) // Returns NaN
math.mMin(x: -0, y: ±0) // Returns -0
math.mMin(x: ±0, y: -0) // Returns -0
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.