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
I would say this may help you: var res = amount.ToString().Replace(".", "").Replace(",", ""); :)
var res = amount.ToString().Replace(".", "").Replace(",", "");