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