decimal place function ADDED