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.Unitof that name already exists, the existing is returned. Otherwise a new one is created.- Return type:
- classmethod get(id)¶
- Parameters:
id (
GOffice.UnitId) –GOffice.UnitIdfor unit to query- Returns:
the
GOffice.Unitcorresponding to id.- Return type:
GOffice.UnitorNone
- convert(to, value)¶
- Parameters:
to (
GOffice.Unit) –value (
float) –
- Return type:
- get_id()¶
- Return type: