Decimal To ASCII
This algorithm converts decimal numbers to ASCII code.
public static string DecimalToASCII(string dec)
{
string ascii = string.Empty;
for (int i = 0; i < dec.Length; i += 3)
{
ascii += (char)Convert.ToByte(dec.Substring(i, 3));
}
return ascii;
}
Example
string data = "080114111103114097109109105110103032065108103111114105116104109115";
string value = DecimalToASCII(data);
Output
Programming Algorithms