Internationalization and localization tools


Culture-Sensitive C# Method

using System

public static ulong ToUInt64(bool value);
public static ulong ToUInt64(byte value);
public static ulong ToUInt64(char value);
public static ulong ToUInt64(DateTime value);
public static ulong ToUInt64(decimal value);
public static ulong ToUInt64(double value);
public static ulong ToUInt64(short value);
public static ulong ToUInt64(int value);
public static ulong ToUInt64(long value);
public static ulong ToUInt64(Object value);
public static ulong ToUInt64(sbyte value);
public static ulong ToUInt64(float value);
public static ulong ToUInt64(string value);
public static ulong ToUInt64(string value, int fromBase);
public static ulong ToUInt64(ushort value);
public static ulong ToUInt64(uint value);
public static ulong ToUInt64(ulong value);

public static ulong ToUInt64(Object value, IFormatProvider provider);

public static ulong ToUInt64(string value, IFormatProvider provider);

Internationalization (I18n) Method Overview

The ToUInt64 method converts the passed in parameter to an equivalent 64-bit unsigned integer.

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