padjust (<points> {,<num>})
point
A series of point values adjusted (rounded) to a specified decimal precision.
<points>
An array of points.
<num>
The required precision (decimal places). Omitting this parameter assumes
a value of 0, that is convert to integer. All 3 ordinate values are rounded.
# Round a series of polygon points to a precision of 2 decimal places # Define a polygon interactively ... entity mypoly = polygon { pseries -rub } mypoly.vertex = padjust(mypoly.vertex,2)