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. Image for the cookie policy date

CalcEngine precision

Hi!

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

Regards,
Rodrigo

1 Reply

KB Kanimozhi Bharathi Syncfusion Team 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 


Loader.
Up arrow icon