Title: Change to format
Last modified: May 12, 2022

---

# Change to format

 *  Resolved [benh123](https://wordpress.org/support/users/benh123/)
 * (@benh123)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/change-to-format/)
 * Hi there,
 * I’m building a calculator and working out the pricing it uses measurements (example
   2200mm x 2000) – is there a way to a decimal point to the measurement without
   the user entering it? ie if they enter 2200 it would be 2.200.
 * Hope that makes sense.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchange-to-format%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/change-to-format/#post-15639317)
 * Hello [@benh123](https://wordpress.org/support/users/benh123/)
 * If you have a number field, and you want the plugin to apply the format entered
   into the field’s settings, you should tick the “Format Dynamically” checkbox.
 * Best regards.
 *  Thread Starter [benh123](https://wordpress.org/support/users/benh123/)
 * (@benh123)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/change-to-format/#post-15639352)
 * No what I mean is, if the user enters 2200 I need the calculation to work as 
   2.200 if that makes sense?
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/change-to-format/#post-15639372)
 * Hello [@benh123](https://wordpress.org/support/users/benh123/)
 * If you want to use the point as the symbol for grouping thousands, you can enter
   the point symbol `.` into the “Symbol for grouping thousands” attribute and the
   comma symbol `,` into the “Decimals separator symbol” attribute.
 * Best regards.
 *  Thread Starter [benh123](https://wordpress.org/support/users/benh123/)
 * (@benh123)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/change-to-format/#post-15639393)
 * Sorry not sure you understand what I mean.
 * I need the form to recognise 2200 as 2.200 so that the calculation works. It 
   gives a result of 261360840 when it should be just 2613.
 * Thanks,
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/change-to-format/#post-15639422)
 * Hello,
 * In short, you want to divide a field’s value by 1000. So, assuming the field 
   name is fieldname1, the equation would be:
 * `fieldname1/1000`
 * If you want the result with three decimal places when the number is not an integer,
   the equation would be:
 * `PREC(fieldname1/1000, 3, true)`
 * Best regards.

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

The topic ‘Change to format’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/change-to-format/#post-15639422)
 * Status: resolved