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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design


public static bool HandleFloatingPointErrors { get; set; }

Property Value

Type Description

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


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