public interface Unit
| Modifier and Type | Method and Description |
|---|---|
double |
convert(double value,
Unit targetUnit)
DOCUMENT ME!
|
double |
getScale()
the scale to convert to the base unit.
|
boolean |
isBaseType()
DOCUMENT ME!
|
double |
toBaseUnit(double value)
DOCUMENT ME!
|
String |
toString() |
double convert(double value,
Unit targetUnit)
throws ConvertException
value - DOCUMENT ME!targetUnit - DOCUMENT ME!ConvertException - DOCUMENT ME!double getScale()
double toBaseUnit(double value)
value - DOCUMENT ME!boolean isBaseType()
Copyright © 2012–2026 cismet GmbH. All rights reserved.