将decimal类型的数据转成2.12这样价钱的显示方式

UnitPrice = string.Format("{0:.00}", m.UnitPrice),
原文地址:https://www.cnblogs.com/qiushuixizhao/p/4707759.html