Hello friends,
found this in Adafruit sample code for ADS1115 IC:
float multiplier = 3.0F; /* ADS1015 @ +/- 6.144V gain (12-bit results) */
What does the "F" after the float value do?
I'm sure it's a stupid question, but it's not easy to google for "F" 
Also no explanation here:
It identifies the initializer value "3.0" as a 'float' type. It's redundant, since the variable already declared as a float.
Just moved to a proper section of the forum.
system
Closed
6
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.