Postgres module

numeric_to_float64

procedure · 1 overloadsince 0.27.0Source

The numeric as a float, and false if its text does not read as a number.

numeric_to_float64 :: (n: Numeric) -> (float64, bool)

The numeric as a float, and false if its text does not read as a number.

Parameters

n: Numeric
the numeric.

Returns

float64
bool

See also