Jump to content

Sign in to follow this  
rcbarend

XML calculation

Recommended Posts

Guest flowe

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

%((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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...