PercentType function ( int arg0 ) { return new PercentType ( BigDecimal . valueOf ( arg0 ) . multiply ( BigDecimal . valueOf ( 100 ) ) . divide ( BigDecimal . valueOf ( DmxChannel . DMX_MAX_VALUE ) , 0 , BigDecimal . ROUND_UP ) . intValue ( ) ) ; }
convert a 0-255 scale value to a percent type . concode_field_sep PlaceHolder placeHolder concode_field_sep int getOutputValue concode_elem_sep int calculateWhite concode_elem_sep int getByteFromPercentType concode_elem_sep int capDmxValue