hikari.utility.certain_float

Functions

cfloat(string)

Create "certain float" (ufloat.n) from string by converting it first

Module Contents

hikari.utility.certain_float.cfloat(string)[source]

Create “certain float” (ufloat.n) from string by converting it first to uncertainties.ufloat and then taking the nominal value.

Parameters:

string (str) – string to be converted

Returns:

float with no uncertainty

Return type:

float