Allow decimal place function to deal with numbers with measurements