Decimal number support

This commit is contained in:
liquidcaesium 2013-09-27 18:52:47 +03:00
parent bc6a380c4c
commit 65640ee6af

View File

@ -146,7 +146,7 @@ int TPTScriptInterface::parseNumber(char * stringData)
}
else
{
return atoi(stringData);
return atof(stringData);
}
return currentNumber;
}