Jump to content

Decimal Degrees to Minutes and Seconds


---
 Share

Recommended Posts

Hello,

Okay, I know I can convert the entire program to either decimal or minutes & seconds degrees. However, I want to report both decimal degrees and minutes and seconds in the same report. Now...here's where it gets interesting. I'm using this on a program that is checking air masters. I have to report the previous results as the new nominal. So I have a "result element" (masked off) where the operator keys in the previous data. Then another result element recalls this previous result element, "getActual("resultElement1").actual", as the nominal. The result in this second result element uses a formula that takes the average of three different cone scans and spits that out as the result.

So...how can I get this program to report both? I can see that there is an angle conversion:

"angle(degree angle [,minutes] [,seconds])"

However, how do I input "(getActual("Cone_MAX1").apexAngle+getActual("Cone_MAX2").apexAngle+ getActual("Cone_MAX3").apexAngle)/3" into the angle conversion formula?

I may be asking for something that just can't be done. Any help or guidance would be greatly appreciated. Thank you!
Link to comment
Share on other sites

you dont need the formula angle() because the values are in radians:

Select the format of your result element as number and use the formula deg()

deg(getActual("Cone_MAX1").apexAngle+getActual("Cone_MAX2").apexAngle+ getActual("Cone_MAX3").apexAngle)/3
Link to comment
Share on other sites

Israel,

Thanks very much! Worked like a charm. I should have been able to figure that one out...oh well. Thank you.
Link to comment
Share on other sites

 Share

×
×
  • Create New...