RuntimeSI

Generates SI units, prefixes and several utility functions (parsing and formatting) usable at run time.

Members

Functions

parseSI
QVariant!N parseSI(S str)

Parses a string for a quantity of type Q at run time.

siFormat
SIFormatter siFormat(string format, QVariant!N quantity)

Format a SI quantity according to a format string known at run time.

Static variables

siSymbols
SymbolList!N siSymbols;

A list of common SI symbols and prefixes

Structs

SIFormatter
struct SIFormatter

Format a SI quantity according to a format string known at run time.

Meta