Skip to content

compute hypot

kgryte edited this page May 12, 2015 · 1 revision

Computes the hypotenuse of a right triangle.

var a = 10,
	b = 12;

var c = compute.hypot( a, b );
Clone this wiki locally