Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {

    public static void main(String[] args) {

        double d1 = 5.3, d2 = 7.8, d3 = 1.5;

        System.out.println("Floor value of " + d1 + " = " + StrictMath.floor(d1));

        System.out.println("Floor value of " + d2 + " = " + StrictMath.floor(d2));

        System.out.println("Floor value of " + d3 + " = " + StrictMath.floor(d3));
    }
}