Return BigDecimal::NAN instead of Float::NAN to prevent type mismatch when values are missing.