Function: padjust

Syntax

padjust (<points> {,<num>})

Type

point

Returns

A series of point values adjusted (rounded) to a specified decimal precision.

Parameters

Example

# 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)