Comment on Int and bool walk into a bar
mojo@lemm.ee 1 year ago
Shouldn’t it be a float that goes between 0 and 1 instead of an int. I’m this situation they’d be the same thing, considering 1 would be max lol.
Comment on Int and bool walk into a bar
mojo@lemm.ee 1 year ago
Shouldn’t it be a float that goes between 0 and 1 instead of an int. I’m this situation they’d be the same thing, considering 1 would be max lol.
MaggiWuerze@feddit.de 1 year ago
So you only shower with 1° cold water? Or could the int maybe represent something like 40°C?
sup4rawr@lemmynsfw.com 1 year ago
but degrees aren’t integers, you can definitely also shower at 40,5°C
jcg@halubilo.social 1 year ago
Not to overdissect a meme, but it really should be an unsigned byte since that’s what the digitiser would probably have as an input or output.
mojo@lemm.ee 1 year ago
The temperature handle is either off or maxed out in this scenario. Not the temperature.
MaggiWuerze@feddit.de 1 year ago
Yeah, that’s why it says “supposed to work”