标签: vb.net rounding
Dim dec as Decimal = 0.01 Math.Round(dec, 1, MidpointRounding.AwayFromZero)
上面的例子可以做6型舍入其他类型怎么样?特别是1型。
*〜表示'To',例如0.01~0.03表示0.01,0.02和0.03。