max

Synopsis

float max(float a, float b)

Parameters

Returns

returns maximum of a and b.

This function finds the maximum of a and b. It also works if a and b are strings.

Related

Examples

example.1
	max(10, -10)
	# result = 10	

example.2
	max("abc", "def")
	# result = "def"
    

Copyright ©2008-2017 Esri R&D Center Zurich. All rights reserved.