aboutsummaryrefslogtreecommitdiff
path: root/gerberex
diff options
context:
space:
mode:
Diffstat (limited to 'gerberex')
-rw-r--r--gerberex/am_expression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerberex/am_expression.py b/gerberex/am_expression.py
index b758df1..4bb1d78 100644
--- a/gerberex/am_expression.py
+++ b/gerberex/am_expression.py
@@ -49,7 +49,7 @@ class AMConstantExpression(AMExpression):
return self
def to_gerber(self, settings=None):
- return '%.6g' % self._value
+ return '%.6f' % self._value
def to_instructions(self):
return [(OpCode.PUSH, self._value)]