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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CalcEngine precision

Thread ID:

Created:

Updated:

Platform:

Replies:

124214 May 24,2016 09:25 PM UTC May 25,2016 12:29 PM UTC WinForms 1
loading
Tags: Calculate
Rodrigo Vedovato
Asked On May 24, 2016 09:25 PM UTC

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 12:29 PM UTC

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.

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

;