Jump to content
Sign in to follow this  
Guest stevelep

Output format settings of FSLCD

Recommended Posts

Guest stevelep

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
Guest tikopone

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...