Add Pa to units

This commit is contained in:
Luke Campagnola 2020-07-13 12:53:06 -07:00
parent e2669f074b
commit 6214ff6de8

View File

@ -10,7 +10,7 @@
## No unicode variable names (μ,Ω) allowed until python 3 ## No unicode variable names (μ,Ω) allowed until python 3
SI_PREFIXES = 'yzafpnum kMGTPEZY' SI_PREFIXES = 'yzafpnum kMGTPEZY'
UNITS = 'm,s,g,W,J,V,A,F,T,Hz,Ohm,S,N,C,px,b,B'.split(',') UNITS = 'm,s,g,W,J,V,A,F,T,Hz,Ohm,S,N,C,px,b,B,Pa'.split(',')
allUnits = {} allUnits = {}
def addUnit(p, n): def addUnit(p, n):