摘要: 今天在做项目的过程中要进行很多的运算, 这个时候想起了math 函数。里面封装了很多常用的函数,就在网上收集了一些用法,记录下来,以备不时只需。View Code 1 /* 字段 */ 2 Math.E; //2.71828182845905 3 Math.PI; //3.14159265358979 4 5 /* 静态方法 */ 6 Math.Abs; //绝对值 7 Math.Acos; //反余弦 8 Math.Asin; //反正弦 9 Math.Atan; ... 阅读全文
posted @ 2012-06-19 15:14 Ruicky 阅读(699) 评论(0) 推荐(0) 编辑