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

How to format the result of the CalcQuick calculations?

Description:

By default, the values from the particular key in CalcQuick are returned as an object value. This value can be converted as a string by using ToString() method. As separate support is not provided to format the result of the CalcQuick, the result is formatted as the following suggested way.

Solution:

In order to format the result of the CalcQuick calculations, the result can be parsed by using any of the formatting methods. For example,

  • int.Parse
  • double.Parse
  • decimal.Parse

C#

 

VB

Note: The SetDirty() method is used for every calculations. I.e. whenever you are calculating the formulas with different values.

Refer to the following screenshot.

Sample Links:

C#: Formatting_Results_CalcQuick_CS

VB: Formatting_Results_CalcQuick_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
5135 06/05/2015 06/05/2015 WinForms Calculate
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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