The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardToggles.HandleFloatingPointErrors Property

Gets or sets whether arithmetic errors related to floating point calculations are processed by the Dashboard error handling mechanism.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v19.1.Core.dll

Declaration

public static bool HandleFloatingPointErrors { get; set; }
Public Shared Property HandleFloatingPointErrors As Boolean

Property Value

Type Description
Boolean

true, to process arithmetic errors related to floating point calculations using the Dashboard error handling mechanism; otherwise, false.

Remarks

In v16.2 and earlier, the Dashboard controls return the Infinity and NaN values in cases when the calculation result is undefined or cannot be presented accurately. This behavior can result in such values being displayed as -Inf, Inf or Nan to end-users.

The HandleFloatingPointErrors property allows you to process such values with the built-in Dashboard error handling mechanism. This results in the following changes:

See Also