Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 171 Bytes
param(
[float] $a,
[float] $b,
[float] $c)
$s = ($a + $b + $c)/2
$sa = $s - $a;
$sb = $s - $b;
$sc = $s - $c;
[Math]::Round([Math]::Sqrt($s * $sa * $sb * $sc), 2);
Something went wrong with that request. Please try again.