Skip to content

Commit ebefa91

Browse files
twmrAndrew Davison
authored andcommitted
Add microcoulomb and millicoulomb units (python-quantities#150)
1 parent 1ef120b commit ebefa91

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎quantities/units/electromagnetism.py‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@
7676
A*s,
7777
symbol='C'
7878
)
79+
mC = millicoulomb = UnitQuantity(
80+
'millicoulomb',
81+
1e-3*C,
82+
symbol='mC'
83+
)
84+
uC = microcoulomb = UnitQuantity(
85+
'microcoulomb',
86+
1e-6*C,
87+
symbol='uC',
88+
u_symbol='μC'
89+
)
7990
V = volt = UnitQuantity(
8091
'volt',
8192
J/C,

0 commit comments

Comments
 (0)