The code generator produces decimal types for fix datatype = LENGTH The fix standard says LENGTH is an integer: http://fixprotocol.org/FIXimate3.0/en/FIX.5.0SP2/fix_datatypes.html