diff --git a/src/Mod/CAM/Path/Post/scripts/dynapath_4060_post.py b/src/Mod/CAM/Path/Post/scripts/dynapath_4060_post.py index edf4951ddd..84704c7611 100644 --- a/src/Mod/CAM/Path/Post/scripts/dynapath_4060_post.py +++ b/src/Mod/CAM/Path/Post/scripts/dynapath_4060_post.py @@ -172,7 +172,7 @@ def processArguments(argstring): SHOW_EDITOR = False print("Show editor = %r" % (SHOW_EDITOR)) if args.precision is not None: - PRECISION = args.precision + PRECISION = int(args.precision) if args.preamble is not None: PREAMBLE = args.preamble.replace("\\n", "\n") if args.postamble is not None: