Title: Range slider value precision
Last modified: October 19, 2016

---

# Range slider value precision

 *  Resolved [josba](https://wordpress.org/support/users/josba/)
 * (@josba)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/range-slider-value-precision/)
 * Hi everybody,
 * we developed some calculators and have now a problem with the decimal place.
 * What do we need:
    With the range slider you can change interest rate to get a
   different result. But we need interest rates in 0.125 steps, 0.125 – 0.250 – 
   0.375 and so on. But in our case the slider makes 0.130 – 0.250 – 0.380 … so 
   the slider rounds the 0.125 to 0.130. Nice but not needed. I need the exact value.
 * I think in the used field we defined everything correct, so I have no idea, how
   to solve that problem.
 * Thanks in advance.
    Jo

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

 *  Thread Starter [josba](https://wordpress.org/support/users/josba/)
 * (@josba)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/range-slider-value-precision/#post-8334793)
 * RESOLVED!
 * HI everybody,
 * we got it: in row 4089 in assets/js/fields.js
 * return Number((value).toFixed(2));
 * If you change 2 to 3, the slider doesn’t round after 2 digits anymore.
 * Jo
    -  This reply was modified 9 years, 7 months ago by [josba](https://wordpress.org/support/users/josba/).
 *  Plugin Contributor [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * (@christiechirinos)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/range-slider-value-precision/#post-8376484)
 * Hi josba,
 * Thanks for using Caldera Forms, and for reporting this issue – and then sharing
   the solution with us. I’ll make sure that this gets added to our Caldera Forms
   documentation should anybody else in the future have this question.
 * By the way, if you ever need any help with Caldera Forms, please do not use this
   forum, instead open a support ticket at [https://CalderaWP.com/support](https://CalderaWP.com/support)
   or if you find a bug, please open an issue at [https://github.com/CalderaWP/Caldera-Forms/issues](https://github.com/CalderaWP/Caldera-Forms/issues).
   Thanks!

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

The topic ‘Range slider value precision’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [christiechirinos](https://wordpress.org/support/users/christiechirinos/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/range-slider-value-precision/#post-8376484)
 * Status: resolved