diff options
author | jaseg <git@jaseg.de> | 2021-12-30 23:40:06 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-12-30 23:40:06 +0100 |
commit | ad87bb610f5d1b063fb5a8259d6aabbc6955b65e (patch) | |
tree | d4b8dd16f6dd7674e8aee5c92e35c7d3cf260f83 /gerbonara/gerber/cam.py | |
parent | 9db91239ea0eac21f38435c1388f86f94f9ce8f3 (diff) | |
download | gerbonara-ad87bb610f5d1b063fb5a8259d6aabbc6955b65e.tar.gz gerbonara-ad87bb610f5d1b063fb5a8259d6aabbc6955b65e.tar.bz2 gerbonara-ad87bb610f5d1b063fb5a8259d6aabbc6955b65e.zip |
fix ALL the tests ^^
Diffstat (limited to 'gerbonara/gerber/cam.py')
-rw-r--r-- | gerbonara/gerber/cam.py | 1 |
1 files changed, 1 insertions, 0 deletions
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... |