Пример #1
0
 ///// <summary>
 ///// 累计为投资人赚取收益
 ///// </summary>
 ///// <returns></returns>
 //private string GetIncomeText()
 //{
 //    var chars = ChuanglitouP2P.BLL.B_usercenter.GetIncome().ToCharArray();
 //    //<p><span>1</span>,<span>2</span><span>3</span><span>4</span>,<span>5</span><span>6</span><span>7</span>,<span>8</span><span>9</span><span>4</span>.<span>0</span><span>0</span></p>
 //    StringBuilder builder = new StringBuilder();
 //    builder.Append("<p>");
 //    foreach (char c in chars)
 //    {
 //        if (c == '.' || c == ',')
 //        {
 //            builder.Append(c.ToString());
 //        }
 //        else
 //        {
 //            builder.Append("<span>");
 //            builder.Append(c.ToString());
 //            builder.Append("</span>");
 //        }
 //    }
 //    builder.Append("</p>");
 //    return builder.ToString();
 //}
 /// <summary>
 /// 累计为投资人赚取收益
 /// </summary>
 /// <returns></returns>
 public static decimal GetTmpData()
 {
     return(Convert.ToDecimal(B_usercenter.GetIncome()));
 }
Пример #2
0
 /// <summary>
 /// 累计为投资人赚取收益
 /// </summary>
 /// <returns></returns>
 private decimal GetTmpData()
 {
     return(Convert.ToDecimal(B_usercenter.GetIncome()));
 }