diff --git a/src/cat/TPTScriptInterface.cpp b/src/cat/TPTScriptInterface.cpp index 6519aec4e..87e058467 100644 --- a/src/cat/TPTScriptInterface.cpp +++ b/src/cat/TPTScriptInterface.cpp @@ -146,7 +146,7 @@ int TPTScriptInterface::parseNumber(char * stringData) } else { - return atoi(stringData); + return atof(stringData); } return currentNumber; }