October 8, 200223 yr HiHave got a "mousearm" by trying to write a string for TOTAL FUEL QUANTITY.I could use a little helpof course i use something like this, but the value is still 0!:%((A:Total Fuel tank quantity, gallons) (A:Fuel weight per gallon, pounds per gallon) *)%!5d! What am i doing wrong? PH-JVH Jan "Beatus ille qui procul negotiis..."
October 8, 200223 yr Have you checked Arne Bartel's xml guide?within the a_vars.txt there is listing.One of them isFUEL TOTAL QUANTITY WEIGHTis that of any help? BrgdsEugen
October 8, 200223 yr Hi, thanksWhen i checked Bartels work i found this:%((A:Fuel total quantity, gallons) (A:Fuel weight per gallon, pounds per gallon) *)%!5d!Gives me exactly what i wanted.Was not far away PH-JVH Jan "Beatus ille qui procul negotiis..."
October 10, 200223 yr >Hi >>Have got a "mousearm" by trying to write a string for TOTAL >FUEL QUANTITY. >I could use a little help >of course i use something like this, but the value is still >0!: >>%((A:Total Fuel tank quantity, gallons) (A:Fuel >weight per gallon, pounds per gallon) *)%!5d! >>What am i doing wrong? You are missing a % after 5d!Try this:((A:Fuel Total Capacity,gallons) (A:Fuel Total Quantity,gallons) - )%!4.2f!%
October 10, 200223 yr Thanks Fr. Bill,Now i know how much fuel left.%((A:Fuel total quantity, gallons) *)%!5d! Do you have the formula for percentage?PH-JVH Jan "Beatus ille qui procul negotiis..."
October 10, 200223 yr >Thanks Fr. Bill, >>Now i know how much fuel left. >>%((A:Fuel total quantity, gallons) *)%!5d! >>Do you have the formula for percentage? Percent fuel remaining would be = (100 - ((total fuel used)/(total fuel available))
Create an account or sign in to comment