PrimaryUnit

trait PrimaryUnit extends UnitConverter

Identifies the Unit of Measure with a conversionFactor of 1.0.

Identifies the Unit of Measure with a conversionFactor of 1.0.

It is used as the intermediary unit during conversions

Each Quantity should have one and only one ValueUnit

class Object
trait Matchable
class Any

Value members

Concrete methods

final override def converterFrom: Double => Double

Implements the converterFrom method to just return the underlying value

Implements the converterFrom method to just return the underlying value

Definition Classes
final override def converterTo: Double => Double

Implements the converterTo method to just return the underlying value

Implements the converterTo method to just return the underlying value

Definition Classes

Concrete fields

final val conversionFactor: 1.0d

Value unit multiplier is always equal to 1

Value unit multiplier is always equal to 1