Hello to all
With Codesys V3.5
I'm trying to visualize a text variable.
For that I did a "box" where as - Text I've used %i m - Text variable My variable that is a REAL
But In that case what is shown as text is only number before the digit.
Example : - My variable 0.0555 => show 0 => I would like to see 0.05 - My variable 1.355 => show 1 => I would like to see 1.35
Thank you for help
Use %.2f instead %i.
Thank You => It's work good
Log in to post a comment.
Hello to all
With Codesys V3.5
I'm trying to visualize a text variable.
For that I did a "box" where as
- Text I've used %i m
- Text variable My variable that is a REAL
But In that case what is shown as text is only number before the digit.
Example :
- My variable 0.0555 => show 0 => I would like to see 0.05
- My variable 1.355 => show 1 => I would like to see 1.35
Thank you for help
Use %.2f instead %i.
Thank You => It's work good