- function ForDight(Dight)
- {
- Dight=Math.round(Dight*Math.pow(10,2))/Math.pow(10,2);
- return Dight;
- }
Math.pow(10,2)控制2位数字显示,可调节。
- document.onmousewheel=function()
- {
- if(event.ctrlKey||event.shiftKey)
- event.returnValue=false;
- }
Math.pow(10,2)控制2位数字显示,可调节。