-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
questionFurther information is requestedFurther information is requested
Description
A decimal type would be useful.
Decimal numbers cannot be serialized as float/double as the conversion will cause precision loss / rounding issues.
As of now, one has to convert decimal numbers to Strings and then use the UTF-8 type. This circumvents conversion issues, but it has a few drawbacks:
- Waste of band-width, because each decimal digit takes one byte.
- Loss of semantics (for example, a generic viewer program for files of RION objects could use highlighting to show numbers in a different color than strings if we had a decimal type.
Thus I think it could be useful to officially add a type for decimal numbers which are encoded as in
https://en.wikipedia.org/wiki/Densely_packed_decimal
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested