Correctly slice query object params
Add non-formatting computation methods

This prevents the locale's number formatter from introducing bad characters
(like commas) into doubles, which then throw errors during the SQL param
parsing back into doubles.