[[ Bug 12936 ]] Fix partial string to number conversion; fix callback parsing
Merge pull request #977 from runrevali/bugfix-12936

[[ Bug 12936 ]] Fix partial string to number conversion; fix callback pa...