diff options
| author | jacob1 <jfu614@gmail.com> | 2013-09-27 15:53:53 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-09-27 15:53:53 (GMT) |
| commit | 44b7c4f8f49ef579dcc260f6efa2e36313877910 (patch) | |
| tree | 693e545dfad0dfb419881a8217ef59287637f7a3 /src/cat/TPTScriptInterface.cpp | |
| parent | bc6a380c4c98e9c55d5d33c49c06d31b2ce6a07d (diff) | |
| parent | 65640ee6af9dd2729afa8b28f9a3133fdf0896a4 (diff) | |
| download | powder-44b7c4f8f49ef579dcc260f6efa2e36313877910.zip powder-44b7c4f8f49ef579dcc260f6efa2e36313877910.tar.gz | |
Merge pull request #168 from liquidcaesium/patch-2
Decimal number support
Diffstat (limited to 'src/cat/TPTScriptInterface.cpp')
| -rw-r--r-- | src/cat/TPTScriptInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/TPTScriptInterface.cpp b/src/cat/TPTScriptInterface.cpp index 6519aec..87e0584 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; } |
