Title: Decimal Number problem
Last modified: April 7, 2017

---

# Decimal Number problem

 *  Resolved [niravp101](https://wordpress.org/support/users/niravp101/)
 * (@niravp101)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/decimal-number-problem/)
 * Hi Team,
 * We are facing some problem while creating a calculation form.
 * 1. Once we removed Decimals separator symbol from the design, It isn’t coming
   back. We want round amount at the specific field, but it shows the incorrect 
   amount, like 202537500 instead of 2025375
 * 2. We want email of submitted data, but didn’t found the submit option.
 * Please, see below testing page for the problem.
 * [http://www.ezdi.com/calculators/cmi-impact/](http://www.ezdi.com/calculators/cmi-impact/)
 * We are really eager to buy this plugin, but we need to confirm before buying.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/decimal-number-problem/#post-9007226)
 * Hello,
 * I’ve tested your form and the equations are returning the correct results.
 * The values by default are:
 * 1.5
    5500 5000
 * and the equation:
 * `ROUND((1.5)*(5500)*(5000))`
 * Returns the correct result:
    $41,250,000
 * and the second equation:
    `41250000*5` Returns the correct result too: 206250000
 * Could you let me know what values you are using for testing the form, please?
 * By the way, if you want the last result formatted with the comma symbol as the
   thousands separator, you simply should enter the comma symbol through the attribute:“
   Symbol for grouping thousands (Ex: 3,000,000)” in the properties of the calculated
   field.
 * In the free version of the plugin if you want to insert a submit button, you 
   simply should insert a common button with the following piece of code as the 
   onclick event:
 * `jQuery(this).closest('form').submit();`
 * However, the free version of the plugin does not include the modules for storing
   the submitted data in the plugin’s database, or for sending the notifications
   emails, these features are available from the professional version of the plugin.
 * Best regards.
 *  [robygiac](https://wordpress.org/support/users/robygiac/)
 * (@robygiac)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/decimal-number-problem/#post-9044364)
 * Hi Team,
    I have a problem with decimal numbers in the calculation form. How 
   do I get to see only two number after the decimal point?
 * Thank you so much
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/decimal-number-problem/#post-9044377)
 * Hello [@robygiac](https://wordpress.org/support/users/robygiac/),
 * Please, use the “PREC” operation:
 * PREC(X,Y) Rounds the number X with Y decimal places.
 * PREC(1.2436,3) = 1.244
    PREC(1.2436,2) = 1.24 PREC(1.2436,1) = 1.2
 * For example if your current equation is: fieldname1+fieldname2, modify it as 
   follows:
    PREC(fieldname1+fieldname2,2)
 * Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Decimal Number problem’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/decimal-number-problem/#post-9044377)
 * Status: resolved