Works for me... However, a blank value will give you an empty string, so you need to take that into account when you write your comparisons. In PHP an empty string IS equal to 0 with loose comparison, so '' >= 0 is TRUE. To test for blank values, you can just check $page->myfloat === '' or is_string($page->myfloat) or probably a million other things, considering we’re in PHP land.
I agree that this isn’t strictly mentioned your screenshot, but it should be.
edit: lol turns out they changed this with PHP 8.0, so watch out for that too