question: private static String dblString ( double decimalValue , int availableSpace ) { return dblString ( BigDecimal . valueOf ( decimalValue ) , - 1 , availableSpace ) ; }
target:  Create a string from a BigDecimal making sure that it's not longer than the available space.