Class FloatingPoint
A Value representing a floating point value. This may hold a
Inherited Members
Namespace: IPA.Config.Data
Assembly: IPA.Loader.dll
Syntax
public sealed class FloatingPoint : Value
Constructors
| Improve this Doc View SourceFloatingPoint()
Constructs an empty FloatingPoint object.
Declaration
public FloatingPoint()
FloatingPoint(Decimal)
Constructs a FloatingPoint object containing the provided value.
Declaration
public FloatingPoint(decimal value)
Parameters
Type | Name | Description |
---|---|---|
Decimal | value | The value to construct with. |
Properties
| Improve this Doc View SourceValue
The actual value fo this FloatingPoint object.
Declaration
public decimal Value { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
Methods
| Improve this Doc View SourceAsInteger()
Coerces this FloatingPoint into an Integer.
Declaration
public Integer AsInteger()
Returns
Type | Description |
---|---|
Integer |
ToString()
Converts this Value into a human-readable format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | the result of |