Add Separate Unit Property For Plural Abbreviations #1122
ILSPlatform
started this conversation in
Ideas
Replies: 1 comment
-
There is no distinction on singular/plural abbreviations, we simply add all the abbreviations that are widely used in order to support parsing units and quantity strings with these abbreviations. In my experience, the majority of abbreviations are singular ("cm", not "cms" for centimeters). I'm unsure about this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, it seems that abbreviations include both singular and plural abbreviations. Hoping these can also be separated out into two distinct properties, unless there is already a way to designate a secondary abbreviation in addition to "Default".
Currently working on a project that has Unit name, Plural name, Short name (abbreviation), and Plural short name. Much of the data I'm working with may only have an abbreviation. So this library is helpful in being able to lookup by abbreviation, then get the other Unit information (Name, PluralName, etc.)
The only thing that would make this even better would be the ability to get a corresponding Plural abbreviation. Maybe a dictionary of some sort, so if there are multiple singular abbreviations for a Unit, they could be mapped to their corresponding plural abbreviations. Unless there is already a way to do this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions