读书人

|M| ASP.NET 怎么取绝对值

发布时间: 2012-02-09 18:22:27 作者: rapoo

|M| ASP.NET 如何取绝对值
谢谢

[解决办法]
System.Math.Abs
[解决办法]
double aaaaa = Math.abs(你的变量);
[解决办法]
System.Math类是通用的
[解决办法]
up
[解决办法]
Math.Abs
[解决办法]
System.Math.Abs(...);
[解决办法]
System.Math.Abs(...);
这个就行。把数字放到括号内!
[解决办法]

Math.Abs()
[解决办法]
double aaaaa = Math.abs(你的变量);

[解决办法]
javascript里也是Math.abs(number)

读书人网 >asp.net

热点推荐