In .NET, I need to convert a decimal amount (money) to a numbers-only string, i.e: 123,456.78 -> 12345678
I thought
var dotPos = amount.ToString().L
var amountString = amount.ToString().Replace(",",string.Empty).Replace(".",string.Empty);
This will replace all the "," commas and "." decimal from the amount.