Skip to Content
0
May 24, 2016 at 09:30 PM

How to Concatenate number and string to assign to a string variable

930 Views

Hi.

I am new to studio and would like to find out how following can be done.

I am reading opportunity's Expected Value and Currency code which i want to store in a text field and use it for Display in my PDF report.

var expval = oppt_tab.SalesForecast.ExpectedRevenueAmount.content; <== 1900.00

var expvalcurr = oppt_tab.SalesForecast.ExpectedRevenueAmount.currencyCode; <== USD

want to get output like below :

OpptLine.Opptexpectedval = 1900.00 USD

What should be syntax to do it.

Thanks

Apoorva