Click or drag to resize

Float Structure

X#
Internal type that implements the XBase Compatible FLOAT type. This type has many operators and implicit converters that normally are never directly called from user code.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
[SerializableAttribute]
 STRUCTURE Float IMPLEMENTS IFloat, 
	IConvertible, IFormattable, IComparable<FLOAT>, IEquatable<FLOAT>, 
	IComparable, ISerializable
Request Example View Source

The Float type exposes the following members.

Constructors
  NameDescription
Public methodFloat(Double)
Initializes a new instance of the Float class
Public methodFloat(IFloat)
Initializes a new instance of the Float class
Public methodFloat(Double, Long)
Initializes a new instance of the Float class
Public methodFloat(Double, DWord)
Initializes a new instance of the Float class
Public methodFloat(SerializationInfo, StreamingContext)
Construct a value from serialized data
Public methodFloat(Double, Long, Long)
Initializes a new instance of the Float class
Public methodFloat(Double, DWord, DWord)
Initializes a new instance of the Float class
Top
Properties
  NameDescription
Public propertyDecimals
Number of decimals
Public propertyDigits
Width
Public propertyValue
REAL8 (System.Double) value
Top
Methods
  NameDescription
Public methodAdd(Float)
Public methodAdd(Usual)
Public methodCastToInt
Public methodCastToInt64
Public methodCompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(Float)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides Equals(Object).)
Public methodEquals(Float)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides GetHashCode.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodSubtract(Float)
Public methodSubtract(Usual)
Public methodToDebugString
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ToString.)
Public methodToString(String)
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
Top
Operators
  NameDescription
Public operatorStatic memberAddition(Float, Float)
Public operatorStatic memberAddition(Float, Usual)
Public operatorStatic memberAddition(Usual, Float)
Public operatorStatic memberDecrement
Public operatorStatic memberDivision
This operator is used in code generated by the compiler when needed.
Public operatorStatic memberEquality
Public operatorStatic member(Float to Byte)
Public operatorStatic member(Float to SByte)
Public operatorStatic member(Float to Short)
Public operatorStatic member(Float to Word)
Public operatorStatic member(Float to Long)
Public operatorStatic member(Float to DWord)
Public operatorStatic member(Float to Int64)
Public operatorStatic member(Float to UInt64)
Public operatorStatic memberGreaterThan
Public operatorStatic memberGreaterThanOrEqual
Public operatorStatic member(Byte to Float)
Public operatorStatic member(Decimal to Float)
Public operatorStatic member(Double to Float)
Public operatorStatic member(Short to Float)
Public operatorStatic member(Long to Float)
Public operatorStatic member(Int64 to Float)
Public operatorStatic member(SByte to Float)
Public operatorStatic member(Single to Float)
Public operatorStatic member(Word to Float)
Public operatorStatic member(DWord to Float)
Public operatorStatic member(UInt64 to Float)
Public operatorStatic member(Float to Double)
Public operatorStatic member(Float to Single)
Public operatorStatic member(Float to Decimal)
Public operatorStatic memberIncrement
Public operatorStatic memberInequality
Public operatorStatic memberLessThan
Public operatorStatic memberLessThanOrEqual
Public operatorStatic memberModulus
Public operatorStatic memberMultiply
Public operatorStatic memberSubtraction(Float, Float)
Public operatorStatic memberSubtraction(Float, Usual)
Public operatorStatic memberSubtraction(Usual, Float)
Public operatorStatic memberUnaryNegation
Public operatorStatic memberUnaryPlus
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIConvertibleToBoolean
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToByte
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToChar
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToDateTime
Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToDecimal
Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToDouble
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToInt16
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToInt32
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToInt64
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToSByte
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToSingle
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToString
Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToType
Converts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToUInt16
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToUInt32
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
Explicit interface implementationPrivate methodIConvertibleToUInt64
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
Top
See Also