Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static float roundTwoDecimals(float f) {
        return (float) Math.round(f * 100) / 100;
    }
}