How to round childNode.globalBounds.x and childNode.globalBounds.y?

I’m trying to programmatically remove decimals on X and Y values.
I’ve tried two methods but none works:

childNode.tanslation(Math.round(childNode.globalBounds.x), Math.round(childNode.globalBounds.y));
Math.round(childNode.globalBounds.x);

Still in need of a solution. :smiling_face_with_tear: