DecimalNvlExpression


DecimalNvlExpression

Table of Contents

What it is

DecimalNvlExpression is used specify how to treat a NULL value in a Decimal property (or field or variable). If the Decimal appears to be NULL, it will be assigned a default value or a specified value.

Code example

public ReadOnlyDecimalProperty DecimalNvlExample
{
	get 
	{ 
		return CalculatedDecimalProperty(() => 
			Operation.EditItem.Number.Nvl()); 
	}
}

 

Explanation of the example

The example above works as follows.

 

 

 

 

 

 

 



Article ID: 265
Created: Thu, Dec 5, 2019
Last Updated: Mon, Jan 13, 2020

Online URL: https://wiki-ai-framework.abstract-it.nl/article/decimalnvlexpression-265.html