Skip to content

Commit 69e2a39

Browse files
authored
Merge pull request #21 from borsec-suveran/patch-19
Update 00_.md
2 parents 01be507 + f1a8504 commit 69e2a39

File tree

1 file changed

+1
-1
lines changed
  • 02_Data Types and Variables/00_Data Types/05_Floating-Point Numbers

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Floating-point types represent real numbers and has a range of values and precision. The one downside of floating-points are they can behave abnormally during calculations and result in the loss of precision. The floating-point size depends on the platform (the browser and the OS). 32-bit OS and browser have 32 bits for number, while 64-bit have 64 bits. Therefore, it is good idea to use 32-bit numbers as it will work on any platform, including the 64-bit platforms. Floating-point types usually have a decimal and are extremely useful in JavaScript.
1+
Floating-point types represent real numbers and have a range of values and precision. The one downside of floating-points is that they can behave abnormally during calculations and result in the loss of precision. The floating-point size depends on the platform (the browser and the OS). 32-bit OS's and browsers have 32 bits for numbers, while 64-bit have 64 bits. Therefore, it is good idea to use 32-bit numbers as they will work on any platform, including 64-bit platforms. Floating-point types usually have a decimal and are extremely useful in JavaScript.

0 commit comments

Comments
 (0)