Groups | Blog | Home
all groups > sql server reporting services > july 2005 >

sql server reporting services : Dynamic Decimal Format


Scott2624
7/26/2005 11:42:05 AM
I have a text field = 3303.123456.

I want to display decimals based on a dynanic parameter.

For example if 4 decimals = 3303.1234. If 2 = 3303.12.

Robert Bruckner [MSFT]
7/26/2005 7:36:14 PM
You can dynamically generate a format code string on a textbox. Assuming you
have an integer parameter called Decimals, you would set the Format property
of the textbox to an expression like this: ="N" &
Parameters!Decimals.Value.ToString()

-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

AddThis Social Bookmark Button