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
You say it's an amount, so I expect 2 digits after the decimal. What about:
var amountstring = (amount * 100).ToString();
to get the cents-value without delimiters?
Or maybe even
var amountString = ((int)(amount * 100)).ToString();
to make sure no decimals remain.