Postgres module

numeric_to_s64

procedure · 1 overloadsince 0.27.0Source

The integer part of a numeric; false for NaN, the infinities, or one out of range. A fraction is truncated toward zero.

numeric_to_s64 :: (n: Numeric) -> (s64, bool)

The integer part of a numeric; false for NaN, the infinities, or one out of range. A fraction is truncated toward zero.

Parameters

n: Numeric
the numeric.

Returns

s64
bool

See also