Skip to contents

Float Clamp

Usage

float_clamp(value, min, max)

Arguments

value

A number.

min

A number.

max

A number.

Value

A number

Examples

float_clamp(0.0, 0.0, 0.0)
#> [1] 0