You probably changed the precision in Current Drawing Preferences => Units.
This changed the precision of the coordinates widget on the bottom left.
When you want to change the precision of dimensions in the drawing, go to Current Drawing Preferences => Dimensions.
There you can set it.
See
https://librecad.readthedocs.io/en/latest/ref/draw-prefs.html?highlight=precision#dimensions
investing less than half an hour into Search function can save hours or days of waiting for a solution