Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Odd even no. twinCAT3

2018-08-20
2018-08-20
  • Vijolica555 - 2018-08-20

    Hello!

    Hot to easy check if the number is n := INT is even no in TwinCAT 3?

    Thank you.

     
  • josepmariarams - 2018-08-20

    IsOdd:=(a mod 2)<>1

    Sent from my Moto G (5S) Plus using Tapatalk

     
  • Vijolica555 - 2018-08-20

    Than you!

     

Log in to post a comment.