ajr117
(Gary Wojtowicz)
November 29, 2017, 6:31pm
1
I have this expression in a SSRS report
=FormatNumber(Fields!Calc_UnitPrice.Value,Fields!CurrencyCode_DecimalsPrice.
Value)
it returns a currency price with five decimal places, I would like it to
return the price with 2 decimal places.
what do I have to change in this expression to make that happen
I have already tried working with the textbox properties with no luck.
Gary Wojtowicz
AJR Industries, Inc.
pmarques
(Pedro Marques)
November 29, 2017, 6:41pm
2
Try:
=FormatNumber(Fields!Calc_UnitPrice.Value,2)
BoostERP
(Brad Boes)
November 29, 2017, 6:42pm
3
Can you change the Fields!CurrencyCode_DecimalsPrice.Value portion of the expression to 2?
Brad Boes
bradboes@boosterpconsulting.com
231-845-1090
feras23
(Fernando Perez)
November 29, 2017, 7:37pm
4
pmarques approach is correct. Another way of doing this is removing formatnumber on the formula, like this:
=Fields!Calc_UnitPrice.Value
and modify the textbox properties.
josecgomez
(Jose C Gomez)
Split this topic
December 20, 2017, 9:50pm
6
josecgomez
(Jose C Gomez)
Split this topic
February 21, 2018, 5:26pm
7
2 posts were split to a new topic: SSRS Print only active lines