Hello everyone,
I am trying to convert hexadecimal to decimal number using a script code but I have found some troubles doing that as I am still new to routerOs.
Any help pls.
Thanks
Hello everyone,
I am trying to convert hexadecimal to decimal number using a script code but I have found some troubles doing that as I am still new to routerOs.
Any help pls.
Thanks
RouterOS does it for you:
[admin@MikroTik] > :put [ :tonum 0xff ]
255
# the octet is case insensitive
:global octet "f"
:put [:tonum "0x$octet"]
Thank you very much!!
And I hope u can help with the other post which is about reading the data from RS485
For me is impossible, I do not have that hardware to test