Trim numbers

Trimming is necessary before test functions.