Fix #1318

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