When using Math.Round(value, MidpointRounding.AwayFromZero), the enum actually gets read as its int equivalent, 1. This caused a bug in our rounding. There should probably be some sort of log in the console informing us that MidpointRounding is unsupported.
When using
Math.Round(value, MidpointRounding.AwayFromZero), the enum actually gets read as its int equivalent,1. This caused a bug in our rounding. There should probably be some sort of log in the console informing us thatMidpointRoundingis unsupported.