0 Replies Latest reply on Apr 14, 2013 8:56 PM by 987995

    Decimal Field to set the integral part and fractional part

    987995
      Hi,

      I need a implementation of a decimal field were I can the the integral part and fractional part like I sepcify my databse columns.

      e.g. a DB-Field is specified as Decimal(5,2) .. then I will allow e.g. to put numbers into a corresponding decimal field like...

      DecimalField df = new DecimalField(5,2);

      or for a pure Integer DB-Field with the length fives:

      DecimalField df = new DecimalField(5,0) or DecimalField df = new DecimalField(5) ;

      Has anybody of you an implemtation like this?

      best regards
      ws