Here's an example where using floats for currencies *could* be an issue... the Number.toFixed() implementation in Javascript can give you surprising results (depending on how you believe it should work):
(1.015).toFixed(2) returns "1.01" instead of what you might expect "1.02"
https://www.sitepoint.com/number-tofixed-rounding-errors-broken-but-fixable/
Pretty sure people aren't testing for this kind of bug unless they are aware of these kinds of specific issues...
#currency #FLOAT #bugs #softwareengineering
Water Level Sensor Does Not Use Water Level Sensor
https://hackaday.com/2022/08/31/water-level-sensor-does-not-use-water-level-sensor/
#Microcontrollers #accelerometer #geolocation #waterlevel #LoRaWAN #sensors #float #pivot #stm32 #LoRa
#microcontrollers #accelerometer #geolocation #waterlevel #lorawan #sensors #FLOAT #pivot #stm32 #lora