Class X12Money
A Helper class to correctly process monetary values
Inheritance
System.Object
X12Money
Assembly: Bishop.X12.dll
Syntax
Constructors
X12Money(Int32)
Declaration
public X12Money(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
X12Money(String)
Declaration
public X12Money(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Properties
IsNeg
Declaration
public bool IsNeg { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsPositive
Declaration
public bool IsPositive { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsZero
Declaration
public bool IsZero { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
AsDecimal()
Declaration
public decimal AsDecimal()
Returns
Type |
Description |
System.Decimal |
|
AsMoney()
Declaration
Returns
Type |
Description |
System.String |
|
AsMoney(Int32)
Declaration
public static string AsMoney(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
Returns
Type |
Description |
System.String |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()