Is there a currency type in sugar?
No. https://github.com/remobjects/sugar/search?utf8=✓&q=currency
"Decimal" should work on all platforms.
my suggestion would be:
Currency = public {$IF COOPER}class mapped to java.math.BigDecimal{$ELSEIF ECHOES}record mapped to System.Decimal{$ELSEIF NOUGAT}class mapped to NSDecimalNumber{$ENDIF}
end;
Looking forward to your pull request.
1 Like