Skip to content

Mapping units from SI to description. #466

@pixelzoom

Description

@pixelzoom

How should axon/units.ts (valid SI units allowed for PhET-iO and numeric Properties) be mapped to description strings? For example, mapping 'm^3' to “meters cubed”.

Should every sim do this their own way, duplicating the description strings, possibly with variations? (Eg “meters cubed” vs “cubic meters”)

Should there be a standardized set of description strings in common code?

Do we need support for doing the mapping?

Do we need singular vs plural mappings? E.g. "1 cubic meter" vs "2 cubic meters" ?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions