// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; using System.Globalization; class MainClass { public static void Main(string[] args) { decimal d1 = Decimal.Parse("295.5", new CultureInfo("en-US", false)); decimal d2 = Decimal.Parse("295,5", new CultureInfo("da-DK", false)); Console.WriteLine(d1 + " " + d2); } }