Builder

class Builder

Builder for creating a CommonScientificValueFormatter

Types

Link copied to clipboard
object Companion

Properties

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

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
infix fun ScientificUnit<*>.usesCustomSymbol(symbol: String)

Sets a custom symbol for formatting a value of a ScientificUnit