Quantity

class caris.Quantity

A quantity (value and unit).

value

The value

Type

float

unit

The unit

Type

Unit

__init__((object)arg1, (str)value) object :

Constructor

Args:

value (str): A string representation of the quantity (e.g. 22.4m)

__init__( (object)arg1, (float)value, (Unit)unit) -> object :

Constructor

Args:

value (float): The quantity valuen value (Unit): The unit.