if(TRUE,1,0)
you will see 1 as the calculated value.
In this sample, \Syncfusion\Essential Suite\3.0.1.0\Windows\Calculate.Windows\Samples\DataGridCalculator, if you replace the definition of the custom function with this code,
public string ComputeMymin(string args)
{
if(args == "1")
return "TRUE";
else
return "FALSE";
}
you can then type this formula in the textbox
= IF(mymin(1),18,20)
then you will see 18 displayed.
>if(TRUE,1,0)
>
>you will see 1 as the calculated value.
>
>In this sample, \Syncfusion\Essential Suite\3.0.1.0\Windows\Calculate.Windows\Samples\DataGridCalculator, if you replace the definition of the custom function with this code,
>
>public string ComputeMymin(string args)
>{
> if(args == "1")
> return "TRUE";
> else
> return "FALSE";
>}
>
>you can then type this formula in the textbox
>
>= IF(mymin(1),18,20)
>
>then you will see 18 displayed.
>if(TRUE,1,0)
>
>you will see 1 as the calculated value.
>
>In this sample, \Syncfusion\Essential Suite\3.0.1.0\Windows\Calculate.Windows\Samples\DataGridCalculator, if you replace the definition of the custom function with this code,
>
>public string ComputeMymin(string args)
>{
> if(args == "1")
> return "TRUE";
> else
> return "FALSE";
>}
>
>you can then type this formula in the textbox
>
>= IF(mymin(1),18,20)
>
>then you will see 18 displayed.