public static BigDecimal bd ( final String val ) { return val != null && val . length ( ) > 0 ? new BigDecimal ( val ) : null ; }
Convenience method to create a BigDecimal with a String can be statically imported .