Ensure a value is not negative (floors at zero).
The Decimal instance to check
The original value if positive, otherwise Decimal(0)
ensureNotNegative(toDecimal("10")); // 10ensureNotNegative(toDecimal("-5")); // 0 Copy
ensureNotNegative(toDecimal("10")); // 10ensureNotNegative(toDecimal("-5")); // 0
Ensure a value is not negative (floors at zero).