In Java, how do I score goals for an arbitrary value? Specifically, I want a round of .0025 steps, which is:
0.032611 -> 0.0325
0.034143 -> 0.0350
0.035233 -> 0.0350 < / P>
0.037777 -> 0.0375
itemprop = "text">
y = math ground (x / 0.0025) * 0.0025
Comments
Post a Comment