MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / roundToFloat

Method roundToFloat

src/main/java/net/optifine/util/MathUtils.java:77–80  ·  view source on GitHub ↗
(double d)

Source from the content-addressed store, hash-verified

75 }
76
77 public static float roundToFloat(double d)
78 {
79 return (float)((double)Math.round(d * 1.0E8D) / 1.0E8D);
80 }
81
82 static
83 {

Callers 1

MathHelperClass · 0.95

Calls 1

roundMethod · 0.80

Tested by

no test coverage detected