Sign in to follow this  
Guest stevelep

Output format settings of FSLCD

Recommended Posts

I just start to use and programm FSLCDHave some problem with the Output format in the FS menu.Does someone have explanation about the codification of the formatfor example:%.03f %05.1f ...If it's standard programming code does exist a table on internet who explain the differents signsThank'sBOB

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi,,,The format of the output string is same than in the printf 'command' in the C. %[flags][width][.precision][modifiers]type.You can get more info f.ex from here; http://www.cplusplus.com/ref/cstdio/printf.htmlMost of the cases type it should be float.%.03f means 3 digits after decimal point vill be printed%05.1f means that 5 digits (incl. decimal point) with the one number after decimal point will be printed and 0 will be used instead of blanks in the beginning of the number!Hopefully this helps you!/Timo

Share this post


Link to post
Share on other sites

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
Sign in to follow this