点击或拖拽改变大小

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.

命名空间:  XSharp
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.24 GA
Syntax
[SerializableAttribute]
 STRUCTURE Float IMPLEMENTS IFloat, 
	IConvertible, IFormattable, IComparable<FLOAT>, IEquatable<FLOAT>, 
	IComparable, ISerializable
Request Example 查看代码

Float 类型公开以下成员。

Constructors
  NameDescription
公共方法Float(Double)
这个构造函数在需要时由编译器生成的代码中使用。
公共方法Float(IFloat)
这个构造函数在需要时由编译器生成的代码中使用。
公共方法Float(Double, Long)
这个构造函数在需要时由编译器生成的代码中使用。
公共方法Float(Double, DWord)
这个构造函数在需要时由编译器生成的代码中使用。
公共方法Float(SerializationInfo, StreamingContext)
从序列化数据构造一个值
公共方法Float(Double, Long, Long)
这个构造函数在需要时由编译器生成的代码中使用。
公共方法Float(Double, DWord, DWord)
这个构造函数在需要时由编译器生成的代码中使用。
Top
Properties
  NameDescription
公共属性Decimals
Number of decimals
公共属性Digits
Width
公共属性Value
REAL8 (System.Double) value
Top
Methods
  NameDescription
公共方法CompareTo(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.
公共方法CompareTo(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.
公共方法Equals(Object)
Indicates whether this instance and a specified object are equal.
(重写 Equals(Object).)
公共方法Equals(Float)
Indicates whether the current object is equal to another object of the same type.
公共方法GetHashCode
Returns the hash code for this instance.
(重写 GetHashCode.)
公共方法GetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
公共方法ToDebugString
公共方法ToString
Returns the fully qualified type name of this instance.
(重写 ToString.)
公共方法ToString(String)
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
公共方法ToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
Top
Operators
  NameDescription
公共运算符静态成员Addition(Float, Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Addition(Float, Usual)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Addition(Usual, Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Decrement
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Division
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Equality
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Float to Byte)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员(Float to SByte)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员(Float to Short)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员(Float to Word)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员(Float to Long)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员(Float to DWord)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员(Float to Int64)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员(Float to UInt64)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员GreaterThan
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员GreaterThanOrEqual
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Byte to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Decimal to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Double to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Short to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Long to Float)
这个转换器在需要时由编译器生成的代码中使用。
公共运算符静态成员(Int64 to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(SByte to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Single to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Word to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(DWord to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(UInt64 to Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Float to Double)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Float to Single)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员(Float to Decimal)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Increment
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Inequality
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员LessThan
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员LessThanOrEqual
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Modulus
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Multiply
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Subtraction(Float, Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Subtraction(Float, Usual)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员Subtraction(Usual, Float)
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员UnaryNegation
这个运算符在编译器生成的代码中使用,当需要时。
公共运算符静态成员UnaryPlus
这个运算符在编译器生成的代码中使用,当需要时。
Top
Explicit Interface Implementations
  NameDescription
显式接口实现私有方法IConvertibleToBoolean
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToByte
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToChar
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToDateTime
Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToDecimal
Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToDouble
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToInt16
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToInt32
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToInt64
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToSByte
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToSingle
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToString
Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToType
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.
显式接口实现私有方法IConvertibleToUInt16
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToUInt32
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
显式接口实现私有方法IConvertibleToUInt64
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
Top
See Also