Numbers
Numbers copied to clipboard
Which decimal formats should EDecimal support?
I intend to make EDecimal support converting to and from commonly used decimal formats, including binary-coded decimal formats. Which of these formats, or others, should my EDecimal class support?
- Chen-Ho decimal format.
- Binary-coded decimal format, where each decimal digit is stored in 4 bits, with or without a scale.
- Binary-coded decimal formats, where each decimal digit is stored in 8 bits, with or without a scale.
I doubt that external transmission formats aside from strings should be supported. Transmission formats should be part of serialization libraries, which feels like out of scope for this library.