UnitBase

interface UnitBase

The contract interface for all Quantity unit types.

Important: This is a Public Preview API. It may be changed or removed at any time.

Properties

Link copied to clipboard
abstract val factor: Long

The conversion factor of the unit from its smallest unit

Link copied to clipboard
abstract val name: String

The name of the unit.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard