
Another custom macro to truncate decimal places
By Tom Sorrentino I was reading "The Optional Stop newsletter, Issue 85", particularly the "Macro Maven: Rounding or truncating to a specific number of decimal places" article. This seems to be a long method of doing this task. Below is what I found that does the same functions, but in a simpler method (below SET V). I've added features of input checking. See M set below for example. It will be read as M0. O0100 #121=3.68256 G65 P1000 S#121 M-0.5 D3 V100 M30 The custom macro: