You are here: Symbol Reference > Stimulsoft.Report.Wpf Namespace > MathUtil Class > MathUtil Methods > ValidateNumber Method > ValidateNumber Method (int, int, int)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
MathUtil.ValidateNumber Method (int, int, int)

makes sure that the number is within the bounds specified

Syntax
C++
C#
Visual Basic
public: int ValidateNumber( int newNum, int minValue, int maxValue );
Parameters
Parameters 
Description 
newNum 
The number to validate 
minValue 
The min value for the bound checking 
maxValue 
The max value for the bound checking 
Returns

Returns the int that was constructed from the string + bound checking

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.