Fix #1318

Finish the typecast conversion - (float) and (string).
https://github.com/mybb/mybb/issues/1318
Used get_input

No idea why it wasn't used in the first place. Also corrected
intendation in one file.
Merge pull request #1319 from Destroy666x/fix1318

Fix #1318