Exemplo n.º 1
0
 @Override
 public String getFormattedValue() {
   if (formatter == null) {
     formatter = new FloatFormatter();
   }
   return formatter.formatFloat(value);
 }
Exemplo n.º 2
0
 @Override
 public String toString() {
   if (formatter == null) {
     formatter = new FloatFormatter();
   }
   return formatter.formatFloatPrecisly(value);
 }