added line to truncate method to replace the coma with a period