Returns the distance existing between two points.

1 math.point2d.distance

<math.point2d.distance>
    <x1 /> +
    <y1 /> +
    <x2 /> +
    <y2 /> +
</math.point2d.distance>
Example

Distance between the points.

Copy
<xsql-script name='math_point2d_distance1'>
    <body>
        <println>
            <math.point2d.distance>
                <number>1</number>
                <number>2</number>
                <number>5</number>
                <number>6</number>
            </math.point2d.distance>
        </println>
    </body>
</xsql-script>