Builder
class Builder
Builder for creating a CommonScientificValueFormatter
Functions
Link copied to clipboard
Link copied to clipboard
Formats any ScientificValue with quantity Quantity as a unit of unit Is overruled by ScientificUnit.formatAs
infix fun <Quantity : PhysicalQuantity> ScientificUnit<Quantity>.formatAs(unit: ScientificUnit<Quantity>)
Formats any ScientificValue of this unit into unit Overrules PhysicalQuantity.formatAs
Link copied to clipboard
Formats a value in a ScientificUnit using CustomFormatHandler
Link copied to clipboard
Sets a method for converting a Number in a given ScientificUnit into a String representation of its value If not set for a given ScientificUnit this will automatically format using ScientificUnit.symbol
Link copied to clipboard
Sets a custom symbol for formatting a value of a ScientificUnit