Type alias UnitBasicDefinition

UnitBasicDefinition: {
    magnitude?: number;
    offset?: number;
    unit: string;
}

Type declaration

  • Optional magnitude?: number

    Conversion magnitude This is the magnitude to convert this unit to the target unit.

  • Optional offset?: number

    Conversion offset

  • unit: string

    Target unit