ecl-logo Documentation

UnitScale

UnitScale[q]metricItem

takes an item and converts its Units to the nearest sensible metric such that the number is the greater than 1 if possible.

Details

  • When Units are in metric it picks the smallest metric prefix that leaves the number > 1.
  • The function also works on time Units.
  • Input
    Output
    General Options

Examples

Basic Examples  (2)

Converts the input item to the nearest sensible metric such that the number is greater than 1:

Works for time Units as well:

Additional Examples  (6)

Can Convert items between metric prefixes:

Handles compound Units:

Numeric values are unchanged:

Scale a QuantityArray:

Take in QuantityDistribution:

Units with exponents can have prefixes <1 or >1000:

Options  (1)

Simplify  (1)

Do not simplify before scaling:

Attributes  (1)

Listable  (1)

Can Convert a list of items into metric form: