首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

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

2012-02-09 
|M| ASP.NET 如何取绝对值谢谢[解决办法]System.Math.Abs[解决办法]double aaaaa Math.abs(你的变量)[

|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)

热点排行