It's just a little fix to get a value and not a Nan (french-glish comments! :laugh: ). Why do simple ?
B
bourdiitsme
@bourdiitsme
Posts
-
Testing the null -
Testing the nullFind in code :
// Check the result of area to avoid a Nan in display
if (Area.GetValueOrDefault(-1) == -1)
{
return 0;
}return Area;
It's lucky that Area is non negative.