if you are asking about what the computer does it is like this:
you have the variable $x$
$\lfloor x\rfloor=max\{m\in\mathbb{Z}~|~m\le x\}$
which means that out off all the integers that beneath $x$ take the largest.
now the computer doesn't has the function $\in$ or the group $\mathbb{Z}$ or any of those stuff
so he do it differently, the computer save memory with $0$'s and $1$'s, bits, integer he saves with 32-bits(usually)
for understanding with 8-bits it looks like this:
$1111~1111$bits$=-127$
$1000~0000$bits$=1$
$0111~1111$bits$=0$
now for float he has a different method, 32-bit format looks like this:
$\underbrace{0}_{0=positive\\1=negative}\underbrace{00000000}_{the~exponent }~~\underbrace{00000000000000000000000}_{the~fraction~part}$
now how exactly this format works is not important now, but you can see from this format that if you have the float, for example, $0~~10000000~11000000000000000000000(=3.5)$ the computer can just ignore the last 22 bits and take only $0~~10000000~1$, the computer can extract all he needs from the first 10 bits
if you do interested in how the float itself works:
the computer look at the first bit and put it in var name AXL(for this example) and do $AX=(-1)^{AXL}$ now he takes the last part and do $DX=1+\text{[the bit]}^\text{[the bit position]}+\text{[the bit]}^\text{[the bit position]}+...$
and the end result is:
$AX\times (DX\times 2^{\text{[the middle part value]}})$
now because that every part after the 10th bit is quarter or less you don't need them when you use floor
x
. I already know what it is, and how to use it. – eshanrh Aug 18 '17 at 00:19⌊x⌋
– eshanrh Aug 18 '17 at 00:22