January 19, 2016 at 3:35 pm
trying to add two currency textboxes as below but wanted to display with decimals. what to replace int with and also in the format below. Any suggestion?
= int(ReportItems!textbox15.Value) + int(ReportItems!textbox28.Value)
$2,135,397.44 (textbox15) + $7,232,950.96(textbox28) =$9,368,348.40
Expecting the value in the above pattern
January 26, 2016 at 12:04 pm
why are you casting them as int? int stands for integer meaning the conversion truncates your decimal places. just get rid of the int() then format the text box where the formula is to currency.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy