GOffice.Unit¶
Fields¶
None
Methods¶
class |
|
class |
|
class |
|
|
|
|
|
|
Details¶
- class GOffice.Unit¶
- classmethod define(symbol, dim, factor_to_SI)¶
- Parameters:
- Returns:
the named
GOffice.Unit
. If aGOffice.Unit
of that name already exists, the existing is returned. Otherwise a new one is created.- Return type:
- classmethod get(id)¶
- Parameters:
id (
GOffice.UnitId
) –GOffice.UnitId
for unit to query- Returns:
the
GOffice.Unit
corresponding to id.- Return type:
GOffice.Unit
orNone
- convert(to, value)¶
- Parameters:
to (
GOffice.Unit
) –value (
float
) –
- Return type:
- get_id()¶
- Return type: