Skip to content

Commit

Permalink
Merge pull request #78 from eclipse/issue_77
Browse files Browse the repository at this point in the history
Added number format
  • Loading branch information
gerring authored Aug 31, 2016
2 parents 74f3152 + 281735e commit fce692f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ public class FloatDecorator extends BoundsDecorator {
public FloatDecorator(Text text) {
super(text, "[-0-9\\.∞]+", new DecimalFormat("##########0.0###"));
}
public FloatDecorator(Text text, String format) {
super(text, "[-0-9\\.∞]+", new DecimalFormat(format));
}

}

0 comments on commit fce692f

Please sign in to comment.