Rounding of real value with decimal in MSD axapta

By using decround mehtod you can round value in following way.


 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