Search code examples
visual-studio-2008reportingrdlcformula

How to add a pound symbol(£) before the formula in textbox


Here is my piece of formula in a textbox

=Fields!TotalCost2.Value+Fields!TotalCost1.Value

Now i want to add a £ in the formula so that the output will be

£ 300.00

Thanks in advance!


Solution

  • If you set TextBox.Format = "C2" it will display the symbol declared in your regional settings ("C") formatted with 2 decimal digits ("2").