Skip to content

Unit conversion functions/methods and their names #19

@andrewgsavage

Description

@andrewgsavage

There's discussion starting #9 (comment) about unit conversion and the methods.

in short:
What should the name of a unit conversion function that returns a quantity be?
Potential names:

Should a unit conversion function that returns the value exist, and what should it be named?

  • The aforementioned function could be used, and then use Quantity.value, so this doesn't need to exist in the initial release.
    Potential names:
  • uconvert_value
  • convert_value is my suggestion

Should a general function exist for converting between units? ie convert(unit1, unit2, value)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions