Dist2d()

From TinyMUX
Revision as of 19:46, 25 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions {{Function|dist2d(x1, y1, x2, y2)}} Returns the distance between the Cartesian points in two dimensions (x1,y1) and (x2,y2). == Example == > say dist2d(0,0...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


dist2d(x1, y1, x2, y2)

Returns the distance between the Cartesian points in two dimensions

 (x1,y1) and (x2,y2).

Example

> say dist2d(0,0,3,4)

You say, "5"

Related Topics

dist3d()