Cuemon .NET Framework
NumberUtility Class Members
Methods 


The following tables list the members exposed by NumberUtility.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)BytesToGigabytesConverts the specified bytes to its equivalent representation in gigabytes.  
Public Methodstatic (Shared in Visual Basic)BytesToKilobytesConverts the specified bytes to its equivalent representation in kilobytes.  
Public Methodstatic (Shared in Visual Basic)BytesToMegabytesConverts the specified bytes to its equivalent representation in megabytes.  
Public Methodstatic (Shared in Visual Basic)BytesToTerabytesConverts the specified bytes to its equivalent representation in terabytes.  
Public Methodstatic (Shared in Visual Basic)FactorialCalculates the factorial of a positive integer n denoted by n!.  
Public Methodstatic (Shared in Visual Basic)GetHighestValueOverloaded. Gets the highest System.Int32 value of the specified System.Int32 values.  
Public Methodstatic (Shared in Visual Basic)GetLowestValueOverloaded. Gets the lowest System.Int32 value of the specified System.Int32 values.  
Public Methodstatic (Shared in Visual Basic)GetRandomNumberOverloaded. Generates a nonnegative random number.  
Public Methodstatic (Shared in Visual Basic)IsCountableSequenceOverloaded. Determines whether the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence).  
Public Methodstatic (Shared in Visual Basic)IsEvenDetermines whether the specified value is an even number.  
Public Methodstatic (Shared in Visual Basic)IsOddDetermines whether the specified value is an odd number.  
Public Methodstatic (Shared in Visual Basic)IsPrimeDetermines whether the specified value is a prime number.  
Public Methodstatic (Shared in Visual Basic)RoundOffRounds a double-precision floating-point value to the nearest integral value closest to the specified accuracy.  
Top
See Also

Reference

NumberUtility Class
Cuemon Namespace
NumberUtility by REST API

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback