long should be treated as SQInteger, double should be treated as SQFloat