Function |try_to_f32

std/conv::|try_to_f32


Usage

|try_to_f32(value)

Generics

◻ T: TryToF32

Parameters

↳ value: T

Return

Option<f32>


Try to turn data into f32.

This function returns an Option containing value if conversion is successful.