Click or drag to resize
ShoppingCartItemCheckResultGetMax Method
Returns larger value from params. Values below 0 are considered to be "not specified".

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected int GetMax(
	int val1,
	int val2
)

Parameters

val1
Type: SystemInt32
First value
val2
Type: SystemInt32
Second value

Return Value

Type: Int32
See Also