金额后两位数小于30,则等于00,后两位数大于30,则等于50,后两位数大于50,则等于100,求指教,谢谢!
比如:
e.Form.Controls("金额").Text = 1823,23小于30,则e.Form.Controls("金额").Text = 1800
e.Form.Controls("金额").Text = 1835,35小于30,则e.Form.Controls("金额").Text = 1850
e.Form.Controls("金额").Text = 2162,62大于50,则e.Form.Controls("金额").Text = 2200