format
Fix uniformRandomSwitch rounding issue, close #2250