Fable
Fable copied to clipboard
Add warning for unsupported MidpointRounding when using Math.Round
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.