diff options
Diffstat (limited to 'gerbonara/graphic_primitives.py')
-rw-r--r-- | gerbonara/graphic_primitives.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/graphic_primitives.py b/gerbonara/graphic_primitives.py index 7bbd3ff..dd421a7 100644 --- a/gerbonara/graphic_primitives.py +++ b/gerbonara/graphic_primitives.py @@ -23,7 +23,7 @@ from dataclasses import dataclass, KW_ONLY, replace from .utils import * -prec = lambda x: f'{x:.6}' +prec = lambda x: f'{float(x):.6}' @dataclass |