这是一个欧拉常数,是自然对数的底数,大约为2.718。
它的语法如下-
Math.E
请尝试以下示例程序。
<html> <head> <title>JavaScript Math E Property</title> </head> <body> <script type = "text/javascript"> var property_value = Math.E document.write("Property Value is :" + property_value); </script> </body> </html>
运行上面代码输出
链接:https://www.learnfk.comhttps://www.learnfk.com/javascript/math-e.html
来源:LearnFk无涯教程网
Property Value is :2.718281828459045
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)