Class NumberHelper
Helper class for working with numbers.
Inheritance
System.Object
NumberHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.Common
Assembly: Cosmos.Common.dll
Syntax
public static class NumberHelper
Methods
| Improve this Doc View SourceWriteNumber(UInt32, Boolean)
Write number to console.
Declaration
public static void WriteNumber(uint aValue, bool aZeroFill)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | aValue | A value to print. |
System.Boolean | aZeroFill | A value indicating whether strarting zeros should be present. |
WriteNumber(UInt32, Int32)
Write number to console.
Declaration
public static void WriteNumber(uint aValue, int aBits)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | aValue | A value to print. |
System.Int32 | aBits | Count of bits to display. |
WriteNumber(UInt32, Int32, Boolean)
Write number to console.
Declaration
public static void WriteNumber(uint aValue, int aBits, bool aZeroFill)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | aValue | A value to print. |
System.Int32 | aBits | Count of bits to display. |
System.Boolean | aZeroFill | A value indicating whether strarting zeros should be present. |