How to declare a float? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to declare a float?

20th Dec 2022, 2:49 PM
Mishkat Hasan
Mishkat Hasan - avatar
4 Answers
+ 4
%f or %g if you're using C
20th Dec 2022, 2:56 PM
praneetha
praneetha - avatar
+ 2
x = 4 float(x)
20th Dec 2022, 2:54 PM
Knight
Knight - avatar
+ 1
Thank you
20th Dec 2022, 2:54 PM
Mishkat Hasan
Mishkat Hasan - avatar
0
Just study c++ a Hybrid of the c language
20th Dec 2022, 6:07 PM
Alex Boso Nzaphila
Alex Boso Nzaphila - avatar