我正在尝试让@String.Format("{0:0.00}",Model.CurrentBalance)
进入这个@Html.TextBoxFor(model => model.CurrentBalance, new { @class = "required numeric", id = "CurrentBalance" })
我只想让货币在我的文本框中显示为.00,但我没有运气。你知道我是怎么做的吗?
https://stackoverflow.com/questions/6963497
复制相似问题