Input.mousePosition shows only numbers without decimals.

when i do

    Debug.Log(Input.mousePosition);

it only debugs for example (100.00 , 100.00) and not something like (100.12 , 100.87)

how can i get the exact value of the position?

That is the exact position. The result of Input.mousePosition is measured in pixels, and you can’t sibdivide a pixel. Unity - Scripting API: Input.mousePosition