Lot of trigonometric calcs but it's all just pretty simple Sine, Cosine, Tangent, Cotangent of a few user supplied variables - stuff that I and 99% of the others who do this all use calculators for just this when in the field/shop - not having to do any of it when drawing in cad. I'm sure there are libraries you can get with all that stuff, just like the ones to convert foot/inch to decimal before doing the calculations.
I asked him to ditch the foot/inch conversion first and we would just put in decimal numbers and check the math and then the conversion. We'll see how that goes. It puts out numbers that look "close" like they could be right at first glance, but aren't. I guess that's better than looking for 43.45 and geting 10,034,342 or something.
Just feel like if it displayed each variable as you went I could track it down pretty quick. But when you enter 3 items and it does a dozen calculations and gives you a wrong answer it's very difficult for me to track down the issue looking from the outside.