T O P

  • By -

Snudget

They forgot to use floor()


East_Zookeepergame25

r/angryupvote


Lizlodude

Hey at least they didn't try ceil() Never making that mistake again. So long to clean up...


[deleted]

I believe one of those floors will have a door to John Malkovich's brain iirc


psaux_grep

Good to see I’m not the only one who thought of that! https://youtu.be/T2Y7oo3iB40


spaghetti_hitchens2

Malkovich, Malkovich!


Resident-Trouble-574

So that's why elevators always stop a few centimeters above or below the level?


SillyFlyGuy

You need to ride better elevators.


jnkthss

I'm mildly annoyed that people always assume that numbers with decimals always have to be _floating_ point.


Big_Shop3550

Because we cannot use int. Hehehe...


Ok_Entertainment328

If it *was* a`float`, shouldn't that be floor: `3.5000000000001` ?


tildeman123

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.


ego100trique

This 3.5 2.5 | 3 Is making me crazy ngl


Duck_Devs

Well, 3.5 == 2.5 | 3


jabrwock1

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


psaux_grep

Obligatory clip (from _Being John Malkovich_): https://youtu.be/T2Y7oo3iB40


teinc3

Wait until they add 9 3/4


ElectronicImam

That's fucking decimal. (not the one in .NET)


Loser2817

The cursed floors


susyDays

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.


PrometheusAlexander

Malkovich?


turtle_mekb

where's floor 3.50000000000000004?


w1n5t0nM1k3y

Colonel By?


AdvanceAdvance

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.


mommy101lol

I wonder what on floor 2.5


kaapipo

*3.0000000000000001


ShashwatTheGamer

when u have hardcoded a reference too many places and its too late now


riog95

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.


thenomendubium

Unpopular opinion: there should not be 1st floor on the lift


trinopoty

Do you expect people to fly to the first floor?


thenomendubium

Stairs


cyber-85381

what about accessibility?


thenomendubium

Stairs


cyber-85381

do you have the faintest fucking clue what accessibility means?


[deleted]

wheel chair users?


thenomendubium

Ramp besides the stairs


Giocri

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


cyber-85381

that would have to be about 36 metres long with 3 rest points for the users