1

I use Camel Bindy and @FixedLengthRecord strategy .

I have a field :

@DataField(pos=21, length=6, trim=true,align="R")
private BigDecimal refundCount

and I want leading this field zeros. What can I do to achieve this ?

mpromonet
  • 11,326
  • 43
  • 62
  • 91
przodownikPracy
  • 547
  • 2
  • 5
  • 12

1 Answers1

1

Have you tried setting paddingChar='0'

Claus Ibsen
  • 56,060
  • 7
  • 50
  • 65