Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Are NIL values supported?

nil supported values
0
0 Posted

Are NIL values supported?

0
0

Yes, Time Series API supports NIL via a NIL flag found in data objects. In formula code, the IsNIL() flag can be used to determine if a data object has its NIL flag set, as in the following code snippet: Double revenue = data(“revenue”); // Double expenses = data(“expenses”); // Double earnings = data(“earnings”); // possibly NIL Double earnings_fixed = If( IsNIL(earnings), revenue – expenses, earnings); //fixed The native database classes also support storage of NIL’s.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123