Class FloatingPoint
A Value representing a floating point value. This may hold a System.Decimal's worth of data.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
[Obsolete("Use the long constructor.")]
public FloatingPoint()
FloatingPoint(Decimal)
Constructs a FloatingPoint object containing the provided value.
Declaration
public FloatingPoint(decimal value)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String | the result of |