Decimal Custom Converter (for fixed length files)
In the FixedLength records when you need to read decimal info you donīt have the decimal bacause this is donīt needed. This example explain how to read that.
If you like to parse a file with a field that has different parsing rules you can define a CustomConverter, for example if you have this source file:
This is a FixedLength record file with 6 chars for the Producto Id and 8 places for each Price (6.2) the record class must be like this:
The last step is to define the converter, you must inherit from the ConverterBase
Done !! you can actually parse the file with.
Must Read - Quick Start Guide - Attributes
List - F.A.Q. - Examples of
Use - Contacts & Credits - Donations