---
name: "conv_float_u32"
section: "9"
platform: "linux"
package: "linuxcnc-uspace"
version: "1:2.9.4-2+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/conv_float_u32"
---

# conv\_float\_u32(9)

Convert a value from float to u32

## NAME

conv\_float\_u32 - Convert a value from float to u32

## SYNOPSIS

**loadrt conv\_float\_u32 \[count=*N*\|names=*name1*\[,*name2...*\]\]**

## FUNCTIONS

- **conv-float-u32.***N* (requires a floating-point thread)

  Update 'out' based on 'in'

## PINS

- **conv-float-u32.*N*.in float in**

  - **conv-float-u32.*N*.out u32 out**

  - **conv-float-u32.*N*.out-of-range bit out**

  TRUE when 'in' is not in the range of u32

## PARAMETERS

- **conv-float-u32.*N*.clamp bit rw**

  If TRUE, then clamp to the range of u32.  If FALSE, then allow the value to "wrap around".

## AUTHOR

Jeff Epler

## LICENSE

GPL
