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.
Unfortunately, activation email could not send to your email. Please try again.

CalcEngine precision

Thread ID:

Created:

Updated:

Platform:

Replies:

124214 May 24,2016 05:25 PM May 25,2016 08:29 AM Windows Forms 1
loading
Tags: Calculate
Rodrigo Vedovato
Asked On May 24, 2016 05:25 PM

Hi!

Is there a way to set the precision for the values returned from the CalcEngine.PullUpdatedValue class?

Regards,
Rodrigo

Kanimozhi Bharathi [Syncfusion]
Replied On May 25, 2016 08:29 AM

Hi Rodrigo, 
 
You can set the precision for the values returned from PullUpdatedValue method by using ComputeRound method of CalcEngine. Please find the code example and sample link for reference, 
 
Code Example 
 
 
var val = calcEngine.PullUpdatedValue(“B3”); 
var precisedval = calcEngine.ComputeRound(val); 
 
 
 
Regards 
Kanimozhi B 


CONFIRMATION

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.

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.

;