Es6-math-property-e

提供:Dev Guides
2020年6月23日 (火) 08:04時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

ES6-Math-Eプロパティ

これはオイラー定数であり、自然対数の底、約2.718です。

構文

Math.E

console.log(Math.E)//the root of the natural logarithm: ~2.718

出力

2.718281828459045