Merge branch 'patch-1' into 'master'
Fix Issue #7, unit conversion bug. Fixes #7 where inches to mm was accidentally inverted. See merge request !2
This commit is contained in:
commit
4f5a2e9ae6
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def cm_to_mm(length):
|
||||||
|
|
||||||
|
|
||||||
def in_to_mm(length):
|
def in_to_mm(length):
|
||||||
return length / 25.4
|
return length * 25.4
|
||||||
|
|
||||||
|
|
||||||
def pt_to_mm(length):
|
def pt_to_mm(length):
|
||||||
|
|
Loading…
Reference in a new issue