Class Integer
Inherited Members
Namespace: IPA.Config.Data
Assembly: IPA.Loader.dll
Syntax
public sealed class Integer : Value
Constructors
| Improve this Doc View SourceInteger()
Constructs an empty Integer object.
Declaration
[Obsolete("Use the long constructor.")]
public Integer()
Integer(Int64)
Constructs a Integer object containing the provided value.
Declaration
public Integer(long value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int64 | value | The value to construct with. |
Properties
| Improve this Doc View SourceValue
The actual value of the Integer object.
Declaration
public long Value { get; set; }
Property Value
| Type | Description |
|---|---|
| Int64 |
Methods
| Improve this Doc View SourceAsFloat()
Coerces this Integer into a FloatingPoint.
Declaration
public FloatingPoint AsFloat()
Returns
| Type | Description |
|---|---|
| FloatingPoint | a FloatingPoint representing the closest approximation of Value |
ToString()
Converts this Value into a human-readable format.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String | the result of |