ChangeableRelativePercentUnit Type

Special case of ChangeableRelativeUnit which represents 'percent of some quantity'.

Constructors

Constructor Description

ChangeableRelativePercentUnit(name, shortcut, valueForHundredPercent)

Full Usage: ChangeableRelativePercentUnit(name, shortcut, valueForHundredPercent)

Parameters:
    name : string - The full name of the unit (e.g. 'percent of page with').
    shortcut : string - The shortcut of the unit (e.g. %PW).
    valueForHundredPercent : DimensionfulQuantity - The quantity that corresponds to a value of hundred percent.

Initializes a new instance of the ChangeableRelativePercentUnit class.

name : string

The full name of the unit (e.g. 'percent of page with').

shortcut : string

The shortcut of the unit (e.g. %PW).

valueForHundredPercent : DimensionfulQuantity

The quantity that corresponds to a value of hundred percent.