JavaScript中的Math.imul()函数
imul()Math对象的函数接受两个数字,并返回给定数字的类似于C的32位乘法结果。
语法
其语法如下
Math.imul(47, 56);
示例
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Math.imul(47, 56);
document.write("Result: "+result);
</script>
</body>
</html>输出结果
Result: 2632
热门推荐
10 带清的简短祝福语
11 新娘上头祝福语大全简短
12 理科元旦祝福语大全简短
13 年末祝福语简短的文案
14 新婚祝福语大全简短精炼
15 高考祝福语简短10字
16 宝宝生日祝福语大全简短
17 近代生日祝福语简短精辟
18 生日果酒祝福语简短独特