if I want to output a decimal for example 3.606487, which variable name I should use? I have tried double and float but can't do | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

if I want to output a decimal for example 3.606487, which variable name I should use? I have tried double and float but can't do

to output decimal with more than two decimal number

3rd Sep 2017, 2:46 PM
陈百鸣
陈百鸣 - avatar
2 ответов
+ 1
nop it's like 1.9769794
3rd Sep 2017, 3:07 PM
陈百鸣
陈百鸣 - avatar
+ 1
thx!u have solved my problem!
3rd Sep 2017, 3:19 PM
陈百鸣
陈百鸣 - avatar