Trim whitespaces for numeric fields

It leads to ~5% slowdown