On the value of ceil and floor

how is the ceiling and floor valued?
PHP function

ceil("9.0000000000000001")9
ceil("9.000000000000001")10

floor("-9.0000000000000001")-9
floor("-9.000000000000001")-10

Why is this happening? Does it matter how many places after the decimal point?

Php
Jan.20,2022
Menu