UnitConverter

A Unit of Measure that require a simple multiplier for converting to and from the underlying value's unit

A Unit of Measure that require a simple multiplier for converting to and from the underlying value's unit

class Object
trait Matchable
class Any
object Dozen
object Each
object Gross
object Percent
object Score
object Amperes
object Coulombs
object Farads
object Henry
object OhmMeters
object Ohms
object Siemens
object Teslas
object Volts
object Webers
object Grays
object WattHours
object Watts
object Bytes
object Grams
object Moles
object Newtons
object Pascals
object Candelas
object Lumens
object Lux
object LuxSeconds
object Becquerels
object Sieverts
object Meters
object Radians
object Kelvin
object Hertz
object Kilofarads
object Nanofarads
object Picofarads
object Abcoulombs
object Kilovolts
object Megavolts
object Microvolts
object Millivolts
object Gigohms
object Kilohms
object Megohms
object Microohms
object Milliohms
object Nanohms
object Microhenry
object Millihenry
object Nanohenry
object Picohenry
object Gauss
object Ergs
object Gigajoules
object Joules
object Kilojoules
object MBtus
object MMBtus
object Megajoules
object Nanojoules
object Picojoules
object Terajoules
trait PowerUnit
object Gigawatts
object Kilowatts
object Megawatts
object Milliwatts
object Rads
object Bits
object Exabits
object Exabytes
object Exbibits
object Exbibytes
object Gibibits
object Gibibytes
object Gigabits
object Gigabytes
object Kibibits
object Kibibytes
object Kilobits
object Kilobytes
object Mebibits
object Mebibytes
object Megabits
object Megabytes
object Octets
object Pebibits
object Pebibytes
object Petabits
object Petabytes
object Tebibits
object Tebibytes
object Terabits
object Terabytes
object Yobibits
object Yobibytes
object Yottabits
object Yottabytes
object Zebibits
object Zebibytes
object Zettabits
object Zettabytes
object PoundMoles
trait MassUnit
object Carats
object Kilograms
object Kilopounds
object Megapounds
object Micrograms
object Milligrams
object Nanograms
object Ounces
object Pounds
object Stone
object Tolas
object Tonnes
object TroyGrains
object TroyOunces
object TroyPounds
trait ForceUnit
object PoundForce
trait JerkUnit
object Bars
object Torrs
object PoundFeet
object Knots
trait YankUnit
object Curies
object Rems
trait AngleUnit
object Arcminutes
object Arcseconds
object Degrees
object Gradians
object Turns
trait AreaUnit
object Acres
object Barnes
object Hectares
object SquareFeet
object Angstroms
object Decameters
object Decimeters
object Feet
object Inches
object Kilometers
object LightYears
object Microns
object Nanometers
object Parsecs
object SolarRadii
object UsMiles
object Yards
object AcreFeet
object CubicFeet
object CubicYards
object Decilitres
object Litres
object Nanolitres
object Teaspoons
object UsCups
object UsDryCups
object UsDryPints
object UsGallons
object UsPints
object UsQuarts
object Gigahertz
object Kilohertz
object Megahertz
object Terahertz
trait TimeUnit
object Days
object Hours
object Minutes
object Seconds

Value members

Abstract methods

protected def conversionFactor: Double

Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

Concrete methods

protected def converterFrom: Double => Double

Implements the converterFrom method as a simple product of the value and the multiplier

Implements the converterFrom method as a simple product of the value and the multiplier

protected def converterTo: Double => Double

Implements the converterTo method as a simple quotient of the value and the multiplier

Implements the converterTo method as a simple quotient of the value and the multiplier