added new function for converting dotted decimal to straight decimal