B.2 Representation

UCUM can represent any number of valid units derived from 7 basic units. To that end, the standard combines various components:

metre (m, length)

second (s, time)

gram (g, mass)

radian (rad, angle)

Kelvin (K, temperature)

Coulomb (C, electric charge)

candela (cd, luminous intensity)

<sign>::=“+” | “-”
<digit>::=“0” | “1” | “2” | “3” | “4” | “5” | “6” | “7” | “8” | “9”
<digits>::=<digit><digits> | <digit>
<factor>::=<digits>
<exponent>::=<sign><digits> | <digits>
<simple-unit>::=<ATOM-SYMBOL> | <PREFIX-SYMBOL><ATOM-SYMBOL[metric]>
<annotatable>::=<simple-unit><exponent> | <simple-unit>
<component>::=<annotatable><annotation>
| <annotatable>
| <annotation>
| <factor>
| “(”<term>“)”
<term>::=<term>“.”<component> | <term>“/”<component> | <component>
<main-term>::=“/”<term> | <term>
<annotation>::=“{”<ANNOTATION-STRING>“}”