หมายเลข EPSILON คุณสมบัติของ หมายเลข วัตถุแสดงถึงความแตกต่างระหว่าง 1 และจำนวนจุดลอยตัวที่เล็กที่สุดที่มากกว่า 1
ไวยากรณ์
ไวยากรณ์ของมันคือดังต่อไปนี้
Number.EPSILON
ตัวอย่าง
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Number.EPSILON;
document.write("Value of the epsilon : " + result);
</script>
</body>
</html> ผลลัพธ์
Value of the epsilon: 2.220446049250313e-16