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 = 123.45d, d2 = 32.10d;

        System.out.println(StrictMath.IEEEremainder(d1, d2));

        d1 = 32.10d;
        d2 = (1.0) / (0.0);

        System.out.println(StrictMath.IEEEremainder(d1, d2));
    }
}