.NET Framework Class Library
Convert..::.ToDecimal Method

Converts a specified value to a decimal number.

Overload List

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Boolean)Converts the specified Boolean value to the equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Byte)Converts the value of the specified 8-bit unsigned integer to the equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Char)Calling this method always throws InvalidCastException.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(DateTime)Calling this method always throws InvalidCastException.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Decimal)Returns the specified decimal number; no actual conversion is performed.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Double)Converts the value of the specified double-precision floating-point number to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Int16)Converts the value of the specified 16-bit signed integer to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Int32)Converts the value of the specified 32-bit signed integer to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Int64)Converts the value of the specified 64-bit signed integer to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Object)Converts the value of the specified object to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(SByte)Converts the value of the specified 8-bit signed integer to the equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Single)Converts the value of the specified single-precision floating-point number to the equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(String)Converts the specified string representation of a number to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(UInt16)Converts the value of the specified 16-bit unsigned integer to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(UInt32)Converts the value of the specified 32-bit unsigned integer to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(UInt64)Converts the value of the specified 64-bit unsigned integer to an equivalent decimal number.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(Object, IFormatProvider)Converts the value of the specified object to an equivalent decimal number, using the specified culture-specific formatting information.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToDecimal(String, IFormatProvider)Converts the specified string representation of a number to an equivalent decimal number, using the specified culture-specific formatting information.
Top
See Also

Reference

Tags :


Page view tracker