Sign in to follow this  

Hi Tom, need help with your Macro formula

Recommended Posts

Hi Tom,I want to use your technique for IAS rolling numbers and want the 10's and 100's to roll over. Your example formula to date did not show a formula for 10's.I have A:Airspeed select indicated or true, knots) sp9 l9 int 10 @2 pow % 10 @2 1 - @1 1 - - 0 max pow / intthen A:Airspeed select indicated or true, knots) 10 % for the units@E1IASDigit(1,1) s3 8 >= l3 8 - 2 / * @E1IASDigit(1,2) + for the 10's@E1IASDigit(2,2) s2 80 >= l2 80 - 20 / * @E1IASDigit(1,3) + for the hundredsI cannot get the 10's to work properly. When the units are rolling from 8 to 10, the 10's flick, say, from 5 to 5.5 then flick to 6. They do not roll smoothly from 5 to 6. What's wrong with,@E1IASDigit(1,1) s3 8 >= l3 8 - 2 / * @E1IASDigit(1,2) +cheers,nick

Share this post

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

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