Formatting a number in Reporting services.

i want to format a number "my way" in a MS RS Report.
The number is f.ex. (formatted by N2) gives me 123,400.50. Trying to change it to : 123.400,50
In other words: Change the decimal "point" from  "." to "," and the thousand seperator from "," to ".".

What can i do?
Tried "###.###.##0,00" with no sucess
KnutUrkeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Macfly67Commented:
Hello KnutUrke,

as far as I know, numeric format is set by choosing a given "Language" property in the report properties.
If you want a number to be formatted to 123.400,50 do this :
1) in the textbox properties, choose Format = Custom and type this :   #,###.000
2) in the report properties, choose a language that has desired number format, for example "French (Belgium)"

This is the only way I know to get what you want...

If you type "#.###,000", it won't give anything, because :
- decimal point "." only determines the location of the decimal separator in the formatted value (so you can only determine where it appears, not which character is used for decimal separator)
- comma "," determines the location of thousand separators. Comma must be at the left of the decimal point in your formula.
Read more about Custom Numeric Format at :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcustomnumericformatstrings.asp

Hope this helps
Macfly
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Macfly67Commented:
Thoughts ?
0
KnutUrkeAuthor Commented:
Thank you!. Choosing my language did it!. The " surrounding the number was of course not there, just for clarification. Once again, thanks for the solution! (Just for the record. I am a Norwegian, not French! he, he!)
0
Macfly67Commented:
Thanks
You're Norwegian, but from now, you will work with french numbers !
Don't worry, nobody will notice the difference...   ;-))
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB Reporting Tools

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.