Advertisement
sissou123

Untitled

Mar 22nd, 2022
1,239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JavaScript Algorithms and Data Structures
  2. Basic JavaScript
  3. Create Decimal Numbers with JavaScript
  4. We can store decimal numbers in variables too. Decimal numbers are sometimes referred to as floating-point numbers or floats.
  5.  
  6. Note: Not all real numbers can accurately be represented in floating-point. This can lead to rounding errors. Details Here.
  7.  
  8. Create a variable myDecimal and give it a decimal value with a fractional part (e.g. 5.7).
  9.  
  10. const ourDecimal = 5.7;
  11.  
  12. // Only change code below this line
  13. for more:https://www.clictune.com/ey60
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement