units: add support for V (Volt)

This commit is contained in:
Yann Sionneau 2015-02-20 17:37:54 +01:00 committed by Sebastien Bourdeauducq
parent 9485372277
commit 1b5944257e
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ def _register_unit(unit, prefixes):
_register_unit("s", "pnum_")
_register_unit("Hz", "_kMG")
_register_unit("dB", "_")
_register_unit("V", "um_k")
def check_unit(value, unit):