Why Figma is acting weird and not rounding up the numbers?

After the latest update figma is acting weird rounding up numbers. When I create a rectangle, I have double digit decimals in the X, Y, W and H coordinates

See here: Loom | Free Screen & Video Recording Software

Turning on “Snap to pixel grid” should fix the issue. You can do this either via the quick actions or the view settings in the upper right corner. A shortcut also exists, but not sure if it is the same globally.