Function |try_to_f64

std/conv::|try_to_f64


Usage

|try_to_f64<T>(value)

Generics

◻ T: TryToF64

Parameters

↳ value: T

Return

Option<f64>


Try to turn data into f64.

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