Uses of Class
bb.science.Unit

Packages that use Unit
bb.science Provides classes and interfaces for mathematical and scientific programming. 
 

Uses of Unit in bb.science
 

Fields in bb.science declared as Unit
static Unit Unit.ampere
          Models the SI base unit of electric current, the ampere.
static Unit Unit.candela
          Models the SI base unit of luminous intensity, the candela.
static Unit Unit.gram
          Models the SI unit of mass, the gram.
static Unit Unit.kelvin
          Models the SI base unit of thermodynamic temperature, the kelvin.
static Unit Unit.meter
          Models the SI base unit of length, the meter.
static Unit Unit.mole
          Models the SI base unit of amount of substance, the mole.
static Unit Unit.second
          Models the SI base unit of time, the second.
 

Methods in bb.science that return Unit
static Unit[] Unit.getSiBaseUnits()
          Returns an array of all the SI base units.
 

Methods in bb.science with parameters of type Unit
static String FormatUtil.toEngineeringString(BigDecimal quantity, Unit unit)
          Returns toEngineeringString(quantity, unit, -1) (i.e. all digits retained).
static String FormatUtil.toEngineeringString(BigDecimal quantity, Unit unit, int numberDigitsFractional)
          Returns quantity expressed in enginnering notation with the exponent accounted for by the appropriate prefix of unit.
static String FormatUtil.toEngineeringString(double quantity, Unit unit)
          Returns toEngineeringString(quantity, unit, -1) (i.e. all digits retained).
static String FormatUtil.toEngineeringString(double quantity, Unit unit, int numberDigitsFractional)
          If quantity is NaN or infinite, then simply returns quantity + " " + unit.getSymbol().