sign property

DecimalSign get sign

See the Rust documentation for sign for more information.

Implementation

DecimalSign get sign {
  final result = _icu4x_Decimal_sign_mv1(_ffi);
  return DecimalSign.values[result];
}
set sign (DecimalSign sign)

Set the sign of the Decimal.

See the Rust documentation for set_sign for more information.

Implementation

set sign(DecimalSign sign) {
  _icu4x_Decimal_set_sign_mv1(_ffi, sign.index);
}