Skip to content

Commit

Permalink
Avoid programmer jargon.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Oct 13, 2021
1 parent fec69da commit 5dc92bb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
*
*/
public enum IonRoundMethod implements ILabel {
DEFAULT(v -> Math.round(v), "Default [Math.round()]"), //

DEFAULT(v -> Math.round(v), "Default: round to nearest integer"), //
MINUS_00(v -> round(v, 10), createDescription(-0.0d)), //
MINUS_01(v -> round(v, 9), createDescription(-0.1d)), //
MINUS_02(v -> round(v, 8), createDescription(-0.2d)), //
Expand All @@ -44,6 +45,7 @@ private IonRoundMethod(Function<Double, Long> function, String label) {
this.label = label;
}

@Override
public String label() {

return label;
Expand Down

0 comments on commit 5dc92bb

Please sign in to comment.