Internationalization and localization tools


Culture-Sensitive C# Method

using System

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

public static long ToInt64(Object value, IFormatProvider provider);

public static long ToInt64(string value, IFormatProvider provider);

Internationalization (I18n) Method Overview

The ToInt64 method converts the passed in parameter to an equivalent 64-bit signed 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