Skip to main content
Associate III
Apr 15, 2024 1:10 AM UTC
Question

C data - 1000.0f

hi I would like to know what does the f means in both 1000.0f and 2000.f ? anyone can kindly advise?

 ScalingFactor = 1000.0f/32768.0f;
 ScalingFactor = 2000.0f/32768.0f;

 

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
Apr 15, 2024 1:16 AM UTC

It means it is treated as a float constant

Like "ul" would be an unsigned long

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..