摘要: StringBuilder去除最后一个字符 :sb.Remove(sb.Length-1, 1);以“;”分隔某个字符串:string[] stringlist=str.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries);四舍五入 :Math.Round(total, 2, MidpointRounding.AwayFromZero); 阅读全文
posted @ 2012-06-12 14:19 jeffrey77 阅读(129) 评论(0) 推荐(0) 编辑