add n and k

This commit is contained in:
2024-03-23 17:49:02 +01:00
parent 20286460c5
commit fb91b1ccb2

View File

@@ -31,6 +31,10 @@ def crap_to_number(num, unit, acdc):
if (unit[0] & 0x1): if (unit[0] & 0x1):
number_str+="µ" number_str+="µ"
if (unit[0] & 0x2):
number_str+="n"
if (unit[0] & 0x4):
number_str+="k"
if (unit[1] & 0x1): if (unit[1] & 0x1):
number_str+="m" number_str+="m"
if (unit[1] & 0x2): if (unit[1] & 0x2):