Function scaled_u8_to_f32

Source
pub fn scaled_u8_to_f32(u: u8) -> f32
Expand description

Convert a u8 in range 0-255 to an f32 in range 0.0 - 1.0.