Fix utils method for integer & cents