Skip to main content

nerd_min

Function nerd_min 

Source
pub fn nerd_min(a: &Value, b: &Value) -> DogeResult
Expand description

nerd.min(a, b) — the smaller of two numbers, keeping the winner’s own type; a tie returns a. Compares exactly across Int/Decimal, via f64 once a Float is involved.