Skip to main content

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.v23.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public static bool HandleFloatingPointErrors { get; set; }

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