Hey, just wondering - I've seen numbers like 1.0f in examples and in books, but what does the 'f' mean? Does it just mean that the number is a floating point number? And does including/excluding it change anything?
CoolGamer48
65
Posting Pro in Training
Recommended Answers
Jump to PostIn simple terms, yes, it is a float. If you don't include the f I believe, technically, it is considered a double.
All 3 Replies
ShawnCplus
456
Code Monkey
Team Colleague
CoolGamer48
65
Posting Pro in Training
ShawnCplus
456
Code Monkey
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.