Click or drag to resize

numberRangerangeChange Method (Double, Double, Double, numberRangeModifyRule, String, Double)

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 double rangeChange(
	this double old,
	double delta,
	double max,
	numberRangeModifyRule rule,
	string op = "+",
	double min = 0
)
Request Example View Source

Parameters

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

Return Value

Type: Double

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. 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