Modified the way how the number is set to allow the use of Decimal points.