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