mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-18 06:01:19 +02:00
Merge pull request #168 from liquidcaesium/patch-2
Decimal number support
This commit is contained in:
@@ -146,7 +146,7 @@ int TPTScriptInterface::parseNumber(char * stringData)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return atoi(stringData);
|
return atof(stringData);
|
||||||
}
|
}
|
||||||
return currentNumber;
|
return currentNumber;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user