Fixing the length issue in case of decimal point