Python 3, 22 18 bytes
lambda n:(n+8)//10
Must casting result to integer, otherwise obtain floating point result
Thanks to @JoKing for sagest to use integer division.
lambda n:(n+8)//10
Must casting result to integer, otherwise obtain floating point result
Thanks to @JoKing for sagest to use integer division.