returns a rounded value from the string . concode_field_sep Logger logger concode_elem_sep WeatherPublisher instance concode_elem_sep WeatherContext context concode_field_sep void publishValue concode_elem_sep String toDisplayString concode_elem_sep void publish concode_elem_sep void republishItem concode_elem_sep String getMinMax concode_elem_sep WeatherPublisher getInstance concode_elem_sep Weather getInstance
BigDecimal function ( String arg0 , WeatherBindingConfig arg1 ) { if ( arg1 . getRoundingMode ( ) == null ) { return new BigDecimal ( arg0 ) ; } return new BigDecimal ( arg0 ) . setScale ( arg1 . getScale ( ) , arg1 . getRoundingMode ( ) ) ; }