November 9, 200817 yr Hi all,I'm new in XML and also strings is not my best in XML gauges.I found some code that shows the total fuel that was used, butit's not exactly what i want.Can anyone help how to change this string to show fuel burned inKilograms, and only one tank (left, or Right) ?Thanks for any help, i just stack with this gauge.%((G:Var2) (A:fuel total quantity weight, pounds) near - (G:Var1) *)%!04s!I look for XML tutorials but the only one i found was www.fs2x.comtutorials but there is no much explanation about strings and howto use integers. Is there any real good tutorial about using FSstrings and variables ?Thanks againMax .M
November 9, 200817 yr Try:-%((G:Var2) (A:fuel left quantity,gallons) 2.72 * near - (G:Var1) *)%!04s!Get the ' 2.72 ' weight per gallon factor from the *.air file item No 312 which is in pounds and convert it to Kgs.Regards, Ted.
November 10, 200817 yr Author Or you can try this:(%((A:FUEL LEFT QUANTITY, meter cubed) (A:FUEL WEIGHT PER GALLON, kilogram per cubic meter) *)%!d! kgs)Douglas
Create an account or sign in to comment