This function is used internally by essR to round variables declared as integer of binary.
For internal use of MEIGOR.