absoluteDecimalFixedPoint function
Returns the absolute value of value.
Implementation
DecimalFixedPoint absoluteDecimalFixedPoint(DecimalFixedPoint value) {
return value.raw.isNegative ? _withDecimalRaw(value, -value.raw) : value;
}
Returns the absolute value of value.
DecimalFixedPoint absoluteDecimalFixedPoint(DecimalFixedPoint value) {
return value.raw.isNegative ? _withDecimalRaw(value, -value.raw) : value;
}