By using decround mehtod you can round value in following way.
567, 6566
int value1, ii;
real rl1 = 566.55, rl2 = 6566.14;
;
value1 = decround(rl1, 0);
value2 = decround(rl2, 0);
info(strfmt("%1, %2", value1, value2));
output 567, 6566