Documentation

math.signbit() function

Flux 0.22.0+

The math.signbit() function reports whether x is negative or negative zero.

Output data type: Boolean

import "math"

math.signbit(x: -1.2)

// Returns true

Parameters

x

The value used in the evaluation.


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.