For example, I have an NSDecimal myDecimal. Suppose it represents something like "-1234567.89"
How can I get a clean string representation of this decimal without any improvement / formatting? No localization? Floating point symbol =. and leave only numbers from 0 to 9, and in the end - if they are negative? I need this line in a strictly technical way. Therefore, a number like 123456789876554432123456789.2231 should not look as pretty as "123,456,789,876,554,432,123,456,789.2231". You understood correctly? I do not want formatting. I try all day to get this right, but everything I find is always related to formatting. So how did you do this?
source share