Documentation

math.pow10() function

Flux 0.22.0+

The math.pow10() function returns 10**n, the base-10 exponential of n.

Output data type: Float

import "math"

math.pow10(n: 3)

// Returns 1000

Parameters

n

The value used in the operation.

Special cases

math.pow10(n: <-323) // Returns 0
math.pow10(n: >308)  // Returns +Inf

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.