Package-level declarations

Types

Link copied to clipboard

An implementation of ScientificValueFormatter Use CommonScientificValueFormatter.with to create an instance that can be customized per ScientificUnit type

Link copied to clipboard

A ScientificValueFormatter that formats a ScientificValue by splitting it up into denominations. E.g. 2ft 4in. Build a formatter using DenominatorScientificValueFormatter.with.

Link copied to clipboard

Interface for formatting a ScientificValue to a String

Functions

Link copied to clipboard
fun ScientificValue<*, *>.toString(formatter: ScientificValueFormatter = CommonScientificValueFormatter.default): String

Gets the String representation of a ScientificValue using a ScientificValueFormatter