Title: Decimal fields keep resetting to integer fields
Last modified: November 30, 2017

---

# Decimal fields keep resetting to integer fields

 *  Resolved [adrianwelsh](https://wordpress.org/support/users/adrianwelsh/)
 * (@adrianwelsh)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/decimal-fields-keep-resetting-to-integer-fields/)
 * I followed the directions here:
    [https://xnau.com/setting-up-a-currency-or-other-decimal-type-field/](https://xnau.com/setting-up-a-currency-or-other-decimal-type-field/)
   and they worked perfectly for setting up a decimal (or float) field. But, when
   I do an update, they get reset back to the default integer field. I am not sure
   if this is when WordPress updates or when Participants Database plugin updates.
 * Is there a way to force the persistence of keeping these fields as decimal fields?
   
   Thanks!

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

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/decimal-fields-keep-resetting-to-integer-fields/#post-9744120)
 * These instructions are for older versions of Participants Database, there is 
   a “Decimal” field type you can select in current versions of the plugin.
 *  Thread Starter [adrianwelsh](https://wordpress.org/support/users/adrianwelsh/)
 * (@adrianwelsh)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/decimal-fields-keep-resetting-to-integer-fields/#post-9744601)
 * Haha, that’s simple! (Not sure how I missed that one…)
 * I assume I no longer need the step count (like step::000.00000001) and no longer
   need to tell it the precision and scale?

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

The topic ‘Decimal fields keep resetting to integer fields’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [currency](https://wordpress.org/support/topic-tag/currency/)
 * [decimal](https://wordpress.org/support/topic-tag/decimal/)
 * [float](https://wordpress.org/support/topic-tag/float/)
 * [number](https://wordpress.org/support/topic-tag/number/)
 * [numeric](https://wordpress.org/support/topic-tag/numeric/)

 * 2 replies
 * 2 participants
 * Last reply from: [adrianwelsh](https://wordpress.org/support/users/adrianwelsh/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/decimal-fields-keep-resetting-to-integer-fields/#post-9744601)
 * Status: resolved