We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

The abs formula

Thread ID:





11783 Mar 16,2004 01:47 AM UTC Mar 16,2004 08:49 AM UTC WinForms 1
Tags: GridControl
Asked On March 16, 2004 01:47 AM UTC

I have two cells: C1=1.0000444, C2=1.0000333. If I define a formula cell with formula "=ABS(c1-c2)", it return error "invalid Math argument". How to fix it?

Administrator [Syncfusion]
Replied On March 16, 2004 08:49 AM UTC

This is a bug in our code that we will fix. The problem occurs when the argument computes to a value that requires exponential notation to express it. In your sample, the value is roughly 1E-5. To work around the until we publish an update with a fix, you can use an IF calculation instead of ABS to compute the absolute value of an expression. =IF(c1-c2,c1-c2,c2-c1)


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon