Imput field directive to easily format and modify a number or currency value