Dear WL Support
I have looked up 'convert type' issues in this forum but the two posts I found do not help resolve my problem. I'm trying to create two lists from a single dataset, each list built on a specific parameter, say Return On Capital and EarningsYield. I use the FundamentalsRatio data series to compute the values. Then I try to pass them onto the respective pointers so I can add them to their respective lists. That's where I get compile errors.
The variables ReturnOnCapital and EarningsYield have already been declared as 'internal double' earlier in the code.
The compile error message (twice): cannot implicitly convert type 'WealthLab.DataSeries' to 'double'.
CODE:
Please log in to see this code.
Thanks
K
Size:
Color:
You're looking to pass a
double value, not a DataSeries. Here's how:
CODE:
Please log in to see this code.
Size:
Color:
Thanks very much, that fixed it.
Size:
Color: