Internationalization and localization tools


Culture-Sensitive C# Method

using System

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

public static sbyte ToSByte(Object value, IFormatProvider provider);

public static sbyte ToSByte(string value, IFormatProvider provider);

Internationalization (I18n) Method Overview

The ToSByte method converts the passed in parameter to an equivalent 8-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