Online Java Compiler By
JavaTpoint.com
public class NextDownExample4 { public static void main(String[] args) { float x = 0.0f; // Input zero, Output Float.MIN_VALUE for float System.out.println(Math.nextDown(x)); } }
Output