I started to learn JavaScript 5 weeks ago and I try to understand step by step. I should create a constant with a fix value (400), but I want to use "ratio", so I used " / " sign in two variablem. If I use only one " / " with the speed, there is no problem with the decimals.
sure, 8 KYU....
I started to learn JavaScript 5 weeks ago and I try to understand step by step. I should create a constant with a fix value (400), but I want to use "ratio", so I used " / " sign in two variablem. If I use only one " / " with the speed, there is no problem with the decimals.
what language?
Expected: 14.814814814814815,
instead got: 14.814814814814813
!!!!!!!!!!