Format automatically amount when adding / editing an operation