Prefix

Labs

class Prefix

Description

A unit prefix.

Inheritance:

Members defined in Prefix (7 members)

factor

R

Scale factor this prefix.

name

R

Full name of this prefix.

symbol

R

Symbol of this prefix.

__hash__

__init__

Construct a new prefix with (name, symbol, factor).

__repr__

__str__

Attributes

property factor: float

Scale factor this prefix.

property name: str

Full name of this prefix.

property symbol: str

Symbol of this prefix.

Methods

__hash__() → int
__init__(arg0: str, arg1: str, arg2: float, /) → None

Construct a new prefix with (name, symbol, factor).

__repr__() → str
__str__() → str