May 21, 200422 yr Having a bit of trouble with one of my gauges in displaying the leading zeros. A four digit display but if that value is less than 1000 only 3 digits display with out leading zero. example of code to display ADF freq as follows: FREQUENCY, enum) 10000/)%!3.1f!Thanks...
May 21, 200422 yr Commercial Member Try putting a zero in front of the decimal -- !03.1f!. That should fix you up...--Jon Jon Blum Vertical Reality Simulations
May 21, 200422 yr tried that with the following line but no leading zero displayed;%((A:ADF1 ACTIVE FREQUENCY, enum) 1000 /)%!04.1f!Display= 345.1 if less than 1000Display= 1345.1 if greater than 1000Need the display to be fixed: 0345.1Thanks..
May 22, 200422 yr Probably !05.1f! the decimal has to be counted also. Also loiok two pages back:http://forums.avsim.net/dcboard.php?az=sho...17547&mode=fullArne Bartels
Create an account or sign in to comment