Closed bakotat closed 3 years ago
Currently, validate is executed with paddings present in the value. In case of decimals it will cause an exception even when keepPadding is set to Drop.
Your update will cause other tests to fail.
I guess you want spaces in numbers, so I've got an update here https://github.com/joutvhu/fixed-width-parser/pull/32/files
Currently, validate is executed with paddings present in the value. In case of decimals it will cause an exception even when keepPadding is set to Drop.