Function getStandardExponents

  • Gets the standard exponents associated with the units in a specified system. These exponents represent the power of 10 (for metric) or log10 equivalent (for imperial) relative to the base unit (meter).

    Parameters

    • unitSystem: UnitSystem

      The unit system ('metric' or 'imperial').

    Returns number[]

    An array of standard exponent numbers.