Sign in to follow this  
rcbarend

XML calculation

Recommended Posts

Hi allI try some digital readouts, as in the following example. %((A:Radio Height, feet))%!04d!where %

Share this post


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

%((A:Radio Height, feet) 10 / near 10 *)%!04d!There's nothing wrong with this string ..From 0-5 feet it displays 0000From 5-15 feet it displays 0010etc.If this is what you want.If you really want to have the last digit zero, so:From 0-10 feet it displays 0000From 10-20 feet it displays 0010etc.use:%((A:Radio Height, feet) 10 / int 10 *)%!04d!Cheers, Rob

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