treat SQL numerics as JavaScript numerics