Relatively new here, just got my Tempest (which I love) last week and I’m now trying to write a simple Linux UDP relay daemon in C/C++.
Given the nature of the language I’m using, I’m trying to determine if it’s possible to “typify” the various numbers or should I just consider everything as "double"
?
For instance, in the UDP documentation, is the presence of a decimal point and subsequent decimals an indication that the number is to be considered a float with that max number of decimal digits? And conversely, if a number doesn’t have decimals, can it always be considered an integer?
For example I always considered the UV index to be an integer scale from 0 to 11+. However I see that "obs_sky"
has an UV index of "10"
while "obs_st"
is reporting "0.03"
and my Android Tempest app is reporting UV index as "6.7"
.