Skip to main content

casti2f(value)

Casts an integer as a float

Availability

Device + Agent

Parameters

Name Type Description
value Integer Any numerical value

Returns

Float

Description

This function takes a 32-bit integer and returns a 32-bit float by interpreting the integer’s four-byte bit pattern as it were a floating-point value encoded in IEEE 754 format.