ok so [math]Tan is expecting radians with no way to tell it to use degrees... so i need to convert degrees to radians.
[decimal]$vAngle=(read-host "enter angle in mils");[decimal]$vBase=(read-host "enter base")
[decimal]$vAngleInDegrees=($vAngle/2*.05625)
$vSubtendedDistance=((1/([decimal][math]::Tan(($vAngleInDegrees / 180 * [math]::PI))))*$vBase/2)
$vSubtendedDistance
a bit clunky but seems to work, any suggestions how to cut down on the rounding, it shows much more precision in the end result than the intermediate steps would indicate?
thx
bob