Added dtosrtf() function