Trimming whitespaces when parsing number.