Good morning everyone!
I'm new on this forum so first of all greetings to you all.
i'm facing the programming of a KUKA KR 150 2000 for my company, i need to built a palletizing system for welded meshes.
I need a function (or maybe just a trick) that allows me to obtain the first lower INTEGER number starting from a REAL number.
For example, n = 3.86, i need f(n) = 3.
Now, i've declared n as an INT variable, but the KRL round it at the closest INT number, giving me n= 4.
i know that in C languages there is the function FLOOR(n), there's someting similar on KRL?
I know that probably it's stupid but i'm a self-taught "programmer" and there's many stupid things that i don't know...
Thank you for your help!