Block SymbolLicensing group: STANDARD
The RTOI block converts the real number r to a signed integer number i. The resulting rounded value is defined by:
where (r) stands for rounding to the nearest integer number. The number of the form +0.5 ( is integer) is rounded to the integer number with the higher absolute value, i.e. , . Note that the numbers and correspond with the lowest and the highest signed number representable in 32-bit format respectively (0x7FFFFFFF and 0x80000000 in hexadecimal form in the C language).
Analog input of the block
Rounded and converted input signal
2019 © REX Controls s.r.o., www.rexygen.com