UnitBase

interface UnitBase

The contract interface for all Quantity unit types.

Inheritors

Properties

Link copied to clipboard
abstract val factor: Long

The conversion factor from the internal representation of the quantity to the unit.

Link copied to clipboard
abstract val name: String

The name of the unit.