Skip to main content

encode_flex_u16

Function encode_flex_u16 

Source
pub fn encode_flex_u16(value: f32) -> u16
Expand description

Encode a u16 flex value (×100). Returns U16_SENTINEL if out of range. Range: 0.00 ..= 655.27 at 0.01 precision.