// formatter.format(customDecimalFormat, value); // sample using Formatter
// textinputFloat.setText(sb.toString()); // sample using Formatter
// textinputFloat.setText(nf.format(value)); // sample using NumberFormat
// textinputFloat.setText(df.format(value)); // sample using DecimalFormat
textinputFloat.setText(nf.format(value)); // using this as a sample
textinputFloat.setValidator(new FloatValidator());
// standard float range model
// note that float approximations could give errors,
// try to increment/decrement the initial value near a range end, to see problems ...
textinputFloatRange.setText(nf.format(new Float(testValue)));