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:





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


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


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); 
Kanimozhi B 


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