docs-v2/content/flux/v0.x/stdlib/math/float64bits.md

32 lines
840 B
Markdown

---
title: math.float64bits() function
description: The math.float64bits() function returns the IEEE 754 binary representation of `f`, with the sign bit of `f` and the result in the same bit position.
aliases:
- /influxdb/v2.0/reference/flux/functions/math/float64bits/
- /influxdb/v2.0/reference/flux/stdlib/math/float64bits/
- /influxdb/cloud/reference/flux/stdlib/math/float64bits/
menu:
flux_0_x_ref:
name: math.float64bits
parent: math
weight: 301
introduced: 0.22.0
---
The `math.float64bits()` function returns the IEEE 754 binary representation of `f`, with the sign bit of `f` and the result in the same bit position.
_**Output data type:** UInteger_
```js
import "math"
math.float64bits(f: 1234.56)
// Returns 4653144467747100426
```
## Parameters
### f {data-type="float"}
The value used in the operation.