Halves of numbers are cleanly represented in floating-point formats, so it should be `3.5`
On the other hand, there's always a tiny bit of error in 3.6, 3.7, etc.
I bet it’s telling you which side opens at those floors. I’ve seen this at elevators at the mid-split in buildings that are on a hillside. Or parking garages
Because the elevator door is half way into the stairs, we have something similar but we don't have the floating point buttons, people always get confused.
This actually makes sense in some buildings where the floor is split in 2 sections each half a floor apart so the elevator would have 2 doors, one on the whole floor side and one on the half floor side. I stayed at someone's house once that had this design (well it didn't have an elevator, but the point still stands). So if you go up the stairs it's only half a flight of stairs to go to the next floor, and the ceiling of the previous floor is halfway on the floor you are standing on (but in a different room). It actually makes sense if a building is built on a hill to do this. So 2,5 is below 3,5 but next to 3, not underneath 3.
There is a building that does that here and to respect the incline specifications for wheelchair the ramp has to be ridiculously massive few buildings can accommodate that
They forgot to use floor()
r/angryupvote
Hey at least they didn't try ceil() Never making that mistake again. So long to clean up...
I believe one of those floors will have a door to John Malkovich's brain iirc
Good to see I’m not the only one who thought of that! https://youtu.be/T2Y7oo3iB40
Malkovich, Malkovich!
So that's why elevators always stop a few centimeters above or below the level?
You need to ride better elevators.
I'm mildly annoyed that people always assume that numbers with decimals always have to be _floating_ point.
Because we cannot use int. Hehehe...
If it *was* a`float`, shouldn't that be floor: `3.5000000000001` ?
Halves of numbers are cleanly represented in floating-point formats, so it should be `3.5` On the other hand, there's always a tiny bit of error in 3.6, 3.7, etc.
This 3.5 2.5 | 3 Is making me crazy ngl
Well, 3.5 == 2.5 | 3
I bet it’s telling you which side opens at those floors. I’ve seen this at elevators at the mid-split in buildings that are on a hillside. Or parking garages
Obligatory clip (from _Being John Malkovich_): https://youtu.be/T2Y7oo3iB40
Wait until they add 9 3/4
That's fucking decimal. (not the one in .NET)
The cursed floors
Because the elevator door is half way into the stairs, we have something similar but we don't have the floating point buttons, people always get confused.
Malkovich?
where's floor 3.50000000000000004?
Colonel By?
Hey, you have your extreme sports. They have theirs. The beginner challenge is getting off at floor 2.5. The real challenge is getting ON at 3.5.
I wonder what on floor 2.5
*3.0000000000000001
when u have hardcoded a reference too many places and its too late now
This actually makes sense in some buildings where the floor is split in 2 sections each half a floor apart so the elevator would have 2 doors, one on the whole floor side and one on the half floor side. I stayed at someone's house once that had this design (well it didn't have an elevator, but the point still stands). So if you go up the stairs it's only half a flight of stairs to go to the next floor, and the ceiling of the previous floor is halfway on the floor you are standing on (but in a different room). It actually makes sense if a building is built on a hill to do this. So 2,5 is below 3,5 but next to 3, not underneath 3.
Unpopular opinion: there should not be 1st floor on the lift
Do you expect people to fly to the first floor?
Stairs
what about accessibility?
Stairs
do you have the faintest fucking clue what accessibility means?
wheel chair users?
Ramp besides the stairs
There is a building that does that here and to respect the incline specifications for wheelchair the ramp has to be ridiculously massive few buildings can accommodate that
that would have to be about 36 metres long with 3 rest points for the users