asp.net - Formatting A Textbox's Expression to Currency Format in ReportViewer -


i'm doing report need convert expression dollar currency. how convert dollar currency programmatically, not on formatting using placeholder properties dialog box , changing on number section.

say example i'm concatenating text "total" the amount.

e.g.

total $140.00 

when did expression:

= "total " & fields!amt.value 

it turns out this:

total 140 

i want include text "total" , format dollar currency.

you can try following solution:

="total " & format(fields!amt.value, "c") 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -