其实很简单,只是在窗体加载的时间需要两句代码就ok了

小数点设为两位,增幅为0.25

numericUpDown1.DecimalPlaces = 2;
numericUpDown1.Increment = 0.25M;

相关文章: