Returns the highest of two input numbers .
Math.max(input_number1, input_number2)
Output is the maximum of two input numbers .
	System.out.println(Math.max(23, 12));      //23
	System.out.println(Math.max(23.4, 12.56)); //23.4
	System.out.println(Math.max(7,9));         // 9

All Math functions


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2022 All rights reserved worldwide Privacy Policy Disclaimer