예제 #1
0
 /// <summary>
 /// 输出销售价格
 /// </summary>
 /// <param name="price"></param>
 /// <returns></returns>
 public static string GetSalePrice(object price)
 {
     if (price == null || Convert.ToDouble(price) == 0)
     {
         return("面议");
     }
     else
     {
         double _price = Convert.ToDouble(price);
         return("" + MoneyManage.ToCHSimpleMoney(_price));
     }
 }
예제 #2
0
 /// <summary>
 /// 输出销售价格
 /// </summary>
 /// <param name="price"></param>
 /// <returns></returns>
 public static string GetRentPrice(object price)
 {
     if (price == null || Convert.ToDouble(price) == 0)
     {
         return("面议");
     }
     else
     {
         double _price = Convert.ToDouble(price);
         return("" + MoneyManage.ToCHSimpleMoney(_price));
         //if (_price <500)
         //{
         //    return YG.SC.Common.MoneyManage.ToCHSimpleMoney(_price) + "";
         //}
         //else
         //{
         //    return House.Components.Common.MoneyManage.ToCHSimpleMoney(_price);
         //}
     }
 }