x

Custom currency format in ssrs expression?

Hi, I have to show currency values in the dollor($) format. for Ex: i have a value(Data type is money only). currently am showing $319,728.2000 but the requirement came like this $3,19.7282 that means i need to shift the decimal position 3 characters to left. it is urjent can any one help note: actual value is like 319728246.000000(above crores)

thanks @nji
more ▼

asked Dec 29, 2011 at 08:14 AM in Default

ANJI gravatar image

ANJI
14 9 14 14

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

In the underlying query, can you divide the amount by 1000

i.e. 319728.2000 / 1000 = 319.7282
more ▼

answered Dec 29, 2011 at 08:17 AM

Kev Riley gravatar image

Kev Riley ♦♦
52.7k 47 49 76

(comments are locked)
10|1200 characters needed characters left

Here is the reference by [John Sheenan][2]. It's very hepful

[2]: http://john-sheehan.com/
more ▼

answered Dec 30, 2011 at 01:24 AM

eghetto gravatar image

eghetto
2.1k 15 17 22

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x545

asked: Dec 29, 2011 at 08:14 AM

Seen: 1485 times

Last Updated: Dec 29, 2011 at 08:14 AM