+ 1

can we increment a float value?

20th Jun 2016, 7:00 AM
Rahul Markam
Rahul Markam - avatar
5 ответов
+ 1
Sure
20th Jun 2016, 8:11 AM
Sardor
Sardor - avatar
+ 1
Any data type you can do arithmetic with can be incremented and decremented, including ints, floats and doubles.
23rd Jun 2016, 8:21 AM
Connor Marshall
Connor Marshall - avatar
+ 1
Of course! You tend to use float values in programs and games. They're for more precise numbers. So not only can you use them... it's actually encouraged TO use them! :)
23rd Jun 2016, 5:37 PM
Nik
Nik - avatar
+ 1
why ! ??? ofcorse yes
25th Jun 2016, 3:07 PM
Mukul Kumar
Mukul Kumar - avatar
0
yes. it's possible
23rd Jun 2016, 5:25 AM
Jerry Tsague
Jerry Tsague - avatar