View Article

Convert Class ToSingle() Overrides

By Xelence Documentation posted 03-04-2024 14:36

  

Note: The following methods always throw InvalidCaseException: 

  • ToSingle(DateTime)
  • ToSingle(Char)



ToSingle(String, IFormatProvider)

  • Parameters:
    • Value: String
    • Provider: IFormatProvider
  • Return Type: Single
  • Description: Converts the specified string representation of a number to an equivalent single-precision floating-point number, using the specified culture-specific formatting information.



ToSingle(Object, IFormatProvider)

  • Parameters:
    • Value: Object
    • Provider: IFormatProvider
  • Return Type: Single
  • Description: Converts the value of the specified object to a single-precision floating-point number, using the specified culture-specific formatting information.



ToSingle(UInt64)

  • Parameters:
    • Value: UInt64
  • Return Type: Single
  • Description: Converts the value of the specified 64-bit unsigned integer to an equivalent single-precision floating-point number.



ToSingle(UInt32)

  • Parameters:
    • Value: UInt32
  • Return Type: Single
  • Description: Converts the value of the specified 32-bit unsigned integer to an equivalent single-precision floating-point number.



ToSingle(UInt16)

  • Parameters:
    • Value: UInt16
  • Return Type: Single
  • Description: Converts the value of the specified 16-bit unsigned integer to an equivalent single-precision floating-point number.



ToSingle(String)

  • Parameters:
    • Value: String
  • Return Type: Single
  • Description: Converts the specified string representation of a number to an equivalent single-precision floating-point number.



    ToSingle(SByte)

    • Parameters:
      • Value: SByte
    • Return Type: Single
    • Description: Converts the value of the specified 8-bit signed integer to an equivalent single-precision floating-point number.



    ToSingle(Object)

    • Parameters:
      • Value: Object
    • Return Type: Single
    • Description: Converts the value of the specified object to an equivalent single-precision floating-point number.



    ToSingle(Int32)

    • Parameters:
      • Value: Int32
    • Return Type: Single
    • Description: Converts the value of the specified 32-bit signed integer to an equivalent single-precision floating-point number.



    ToSingle(Int16)

    • Parameters:
      • Value: Int16
    • Return Type: Single
    • Description: Converts the value of the specified 16-bit signed integer to an equivalent single-precision floating-point number.



    ToSingle(Double)

    • Parameters:
      • Value: Double
    • Return Type: Single
    • Description: Converts the value of the specified double-precision floating-point number to an equivalent single-precision floating-point number.



    ToSingle(Decimal)

    • Parameters:
      • Value: Decimal
    • Return Type: Single
    • Description: Converts the value of the specified decimal number to an equivalent single-precision floating-point number.



    ToSingle(Byte)

    • Parameters:
      • Value: Byte
    • Return Type: Single
    • Description: Converts the value of the specified 8-bit unsigned integer to an equivalent single-precision floating-point number.



    ToSingle(Boolean)

    • Parameters:
      • Value: Boolean
    • Return Type: Single
    • Description: Converts the specified Boolean value to an equivalent single-precision floating-point number.



    ToSingle(Int64)

    • Parameters:
      • Value: Int64
    • Return Type: Single
    • Description: Converts the value of the specified 64-bit signed integer to an equivalent single-precision floating-point number.


    #Rules

    0 comments
    10 views