SpiceQA
Questions
Tags
Users
Badges
Why is the "f" required when declaring floats?
user_1525061
0
Created Jul 17, 2012
Edited Jul 17, 2012
Viewed 85369
Follow
Example:
float timeRemaining = 0.58f;
Why is the
f
is required at the end of this number?
floating-point
c#
95
0
Add comment
+
Share
3 Answers
Related