FSMIC Posted May 21, 2003 Report Share Posted May 21, 2003 Can somebody help me. What is the proper expression for converting from the TCAS section - float lat; // 32-bit float, in degrees, –ve = South - float lon; // 32-bit float, in degrees, –ve = West - float alt; // 32-bit float, in feet (C++ or C#) Thanks In Advance Link to comment Share on other sites More sharing options...
Pete Dowson Posted May 21, 2003 Report Share Posted May 21, 2003 Can somebody help me. What is the proper expression for converting from the TCAS section - float lat; // 32-bit float, in degrees, –ve = South - float lon; // 32-bit float, in degrees, –ve = West - float alt; // 32-bit float, in feet (C++ or C#) I don't use C# but in C/C++ these are what they say -- type "float". You just read them into a variable defined as "float". This is why I defined them like this, to save you any conversion problems! It was different in the FS98 offsets areas, those units were feined by MS long before I started this stuff. Pete Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now