From ad87bb610f5d1b063fb5a8259d6aabbc6955b65e Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 30 Dec 2021 23:40:06 +0100 Subject: fix ALL the tests ^^ --- gerbonara/gerber/cam.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gerbonara/gerber/cam.py') diff --git a/gerbonara/gerber/cam.py b/gerbonara/gerber/cam.py index fa38382..7988b44 100644 --- a/gerbonara/gerber/cam.py +++ b/gerbonara/gerber/cam.py @@ -92,6 +92,7 @@ class FileSettings: # negative sign affects padding, so deal with it at the end... sign = '-' if value < 0 else '' + # FIXME never use exponential notation here num = format(abs(value), f'0{integer_digits+decimal_digits+1}.{decimal_digits}f').replace('.', '') # Suppression... -- cgit