Trigonometric functions: Difference between revisions
m
→A More "PowerShelly" Way
Line 3,497:
===A More "PowerShelly" Way===
I would send the output as an array of objects containing the (<code>[double]</code>) properties: '''Radians''' and '''Degrees'''.
Notice the difference between the last decimal place in the first two objects. If you were calculating coordinates as a civil engineer or land surveyor
<lang PowerShell>
$radians = [Math]::PI / 4
|