Click or drag to resize

numberRangerangeChange Method (Int32, Int32, Int32, numberRangeModifyRule, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

Namespace:  imbSCI.Core.math.range
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static int rangeChange(
	this int old,
	int delta,
	int max,
	numberRangeModifyRule rule,
	string op = "+"
)
Request Example View Source

Parameters

old
Type: SystemInt32
delta
Type: SystemInt32
max
Type: SystemInt32
rule
Type: imbSCI.Core.math.rangenumberRangeModifyRule
op (Optional)
Type: SystemString

Return Value

Type: Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int32. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also