for example
var B=12.5;
var C=12.7;
var roundeB = Math.Round(B, 0, MidpointRounding.AwayFromZero);
roundeB=13;//answer 12.5 +0.5
Rounded by =(0.5 )// How can calculate Rounding value?
var roundeC = Math.Round(C, 0, MidpointRounding.AwayFromZero);
roundeC=13;//answer 12.7 +0.3
Rounded by =(0.3 )// How can calculate Rounding value?