You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project I am currently working on has to be able to support numbers with either a null or zero value. For a null value the string for this field would be ' ' and the zero value would be '00000'. I am at a loss of how to do this using fixedformat4j. It would be great if it had a nullChar attribute as well.
@field(offset = 635, length = 5, align = Align.RIGHT, paddingChar = '0', nullChar=' ')
or
@FixedFormatNumber(sign = Sign.NOSIGN, nullChar=' ') if it was just for numbers
The text was updated successfully, but these errors were encountered:
@field(offset = 635, length = 5, align = Align.RIGHT, paddingChar = '0')
@FixedFormatDecimal(decimals = 2, decimalDelimiter = '.', useDecimalDelimiter = false)
@FixedFormatNumber(sign = Sign.NOSIGN)
The project I am currently working on has to be able to support numbers with either a null or zero value. For a null value the string for this field would be ' ' and the zero value would be '00000'. I am at a loss of how to do this using fixedformat4j. It would be great if it had a nullChar attribute as well.
@field(offset = 635, length = 5, align = Align.RIGHT, paddingChar = '0', nullChar=' ')
or
@FixedFormatNumber(sign = Sign.NOSIGN, nullChar=' ') if it was just for numbers
The text was updated successfully, but these errors were encountered: