What is floating point number in js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

What is floating point number in js

25th Dec 2016, 11:45 PM
Vipul Aggarwal
Vipul Aggarwal - avatar
2 Answers
+ 1
The floating point number is any number with a fraction part. E.g. 1.233 has a floating point of .233
14th Feb 2017, 10:44 AM
Samuel Blessed Woniowei
Samuel Blessed Woniowei - avatar
0
You specify a variable indepent from its content as "var" When you wanna calculate with floating point numbers, write them like 1.234 eg.: a = 1.234;
25th Dec 2016, 11:47 PM
Andreas K
Andreas K - avatar