Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove trailing zeros using ssrs?

I have a column DECIMAL(18,4). when I insert data like 123.45 it becomes 123.4500 I want to show it in SSRS like 123.45. How to remove those zeros in SSRS?

like image 292
Asieh hojatoleslami Avatar asked Mar 03 '26 09:03

Asieh hojatoleslami


1 Answers

Depending on what exporting formats your need you can set the number formatting to 0.####;(0.####)

I know this is compatible with the SSRS viewer and exporting to PDF, but Excel would take 123.0000 and show it as 123. instead of just 123

like image 158
Sean Avatar answered Mar 05 '26 21:03

Sean



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!