Online Java Compiler By
JavaTpoint.com
public class NextDownExample2 { public static void main(String[] args) { double x = 744.93; // Input double value, Output adjacent floating-point System.out.println(Math.nextDown(x)); } }
Output