Working decimal place function added