Skip to main content

nerd_abs

Function nerd_abs 

Source
pub fn nerd_abs(x: &Value) -> DogeResult
Expand description

nerd.abs(x) — magnitude, keeping the argument’s own type. An Int stays an Int (and never overflows — it is arbitrary precision), a Float a Float, a Decimal a Decimal.