Roughly tested implementation of a decimal input field with test application