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 = 12.3400000000000, d2 = 98.76;

        System.out.println(StrictMath.nextUp(d1));

        System.out.println(StrictMath.nextUp(d2));
    }
}