Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.