Internationalization and localization tools


Culture-Sensitive VB.NET Method

using System

Public Shared Function ToDecimal(value As Boolean) As Decimal

Public Shared Function ToDecimal(value As Byte) As Decimal
Public Shared Function ToDecimal(value As Char) As Decimal

Public Shared Function ToDecimal(value As DateTime) As Decimal

Public Shared Function ToDecimal(value As Decimal) As Decimal

Public Shared Function ToDecimal(value As Double) As Decimal
Public Shared Function ToDecimal(value As Short) As Decimal

Public Shared Function ToDecimal(value As Integer) As Decimal

Public Shared Function ToDecimal(value As Long) As Decimal
Public Shared Function ToDecimal(value As Object) As Decimal
Public Shared Function ToDecimal(value As SByte) As Decimal
Public Shared Function ToDecimal(value As Single) As Decimal
Public Shared Function ToDecimal(value As String) As Decimal
Public Shared Function ToDecimal(value As UShort) As Decimal

Public Shared Function ToDecimal(value As UInteger) As Decimal

Public Shared Function ToDecimal(value As ULong) As Decimal

Public Shared Function ToDecimal(value As Object, provider As IFormatProvider ) As Decimal

Public Shared Function ToDecimal(value As String, provider As IFormatProvider ) As Decimal

Internationalization (I18n) Method Overview

The ToDecimal method converts the passed in parameter to a Decimal value.

For more information see Microsoft's MSDN online documentation.

I18n Issues

To ensure that culture-sensitive formatting is done properly, call the versions that pass in the Culture (IFormatProvider).

Culture and Number Format Information

 

Lingoport internationalization and localization services and software