ToDecimal Method
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System Namespace
Convert Class
Convert Methods
ToDecimal Method
ToDecimal Method (Boolean)
ToDecimal Method (Byte)
ToDecimal Method (Char)
ToDecimal Method (DateTime)
ToDecimal Method (Decimal)
ToDecimal Method (Double)
ToDecimal Method (Int16)
ToDecimal Method (Int32)
ToDecimal Method (Int64)
ToDecimal Method (Object)
ToDecimal Method (SByte)
ToDecimal Method (Single)
ToDecimal Method (String)
ToDecimal Method (UInt16)
ToDecimal Method (UInt32)
ToDecimal Method (UInt64)
ToDecimal Method (Object, IFor ...
ToDecimal Method (String, IFor ...
Convert Methods
ChangeType Method
FromBase64CharArray Method
FromBase64String Method
GetTypeCode Method
IsDBNull Method
ToBase64CharArray Method
ToBase64String Method
ToBoolean Method
ToByte Method
ToChar Method
ToDateTime Method
ToDecimal Method
ToDouble Method
ToInt16 Method
ToInt32 Method
ToInt64 Method
ToSByte Method
ToSingle Method
ToString Method
ToUInt16 Method
ToUInt32 Method
ToUInt64 Method
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
Convert
.
.
::
.
ToDecimal Method
Converts a specified value to a decimal number.
Overload List
Name
Description
ToDecimal(Boolean)
Converts the specified Boolean value to the equivalent decimal number.
ToDecimal(Byte)
Converts the value of the specified 8-bit unsigned integer to the equivalent decimal number.
ToDecimal(Char)
Calling this method always throws
InvalidCastException
.
ToDecimal(DateTime)
Calling this method always throws
InvalidCastException
.
ToDecimal(Decimal)
Returns the specified decimal number; no actual conversion is performed.
ToDecimal(Double)
Converts the value of the specified double-precision floating-point number to an equivalent decimal number.
ToDecimal(Int16)
Converts the value of the specified 16-bit signed integer to an equivalent decimal number.
ToDecimal(Int32)
Converts the value of the specified 32-bit signed integer to an equivalent decimal number.
ToDecimal(Int64)
Converts the value of the specified 64-bit signed integer to an equivalent decimal number.
ToDecimal(Object)
Converts the value of the specified object to an equivalent decimal number.
ToDecimal(SByte)
Converts the value of the specified 8-bit signed integer to the equivalent decimal number.
ToDecimal(Single)
Converts the value of the specified single-precision floating-point number to the equivalent decimal number.
ToDecimal(String)
Converts the specified string representation of a number to an equivalent decimal number.
ToDecimal(UInt16)
Converts the value of the specified 16-bit unsigned integer to an equivalent decimal number.
ToDecimal(UInt32)
Converts the value of the specified 32-bit unsigned integer to an equivalent decimal number.
ToDecimal(UInt64)
Converts the value of the specified 64-bit unsigned integer to an equivalent decimal number.
ToDecimal(Object, IFormatProvider)
Converts the value of the specified object to an equivalent decimal number, using the specified culture-specific formatting information.
ToDecimal(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
Convert Class
Convert Members
System Namespace
Tags :