Math.max()

Returns the highest of two input numbers .
Syntax
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


plus2net.com



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-2020 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer