diff --git a/coders/tiff.c b/coders/tiff.c
index 2cf1835..02916f8 100644
--- a/coders/tiff.c
+++ b/coders/tiff.c
@@ -2390,7 +2390,7 @@
         float
           rational;
 
-        rational=LocaleToDouble(value,(char **) NULL);
+        rational=InterpretLocaleValue(value,(char **) NULL);
         (void) TIFFSetField(tiff,exif_info[i].tag,rational);
         break;
       }