In classic ASP we had FormatCurrency to take a value (number) and display it as a formatted currency. In C#, how do we achieve the same? To map a SQL 205 Money datatype to a C# class property, I use Decimal Data Type – which gives you the precision you need. A simple .ToString() on this, would display just that – the decimal, as a string. But what if you want to display a price...
Currency Display In C#
C