Support » Plugin: Contact Form 7 » Number field removing trailing 0's in decimals

  • Zoee

    (@epixmedia)


    Hi, I have a set of number fields on my form that display prices. If you edit one price I have some jquery that edits the others based on some simple maths.

    My jQuery alerts all the numbers with 2 decimal places (ie 230.10) however when its passed in to the number field it shows as 230.1 with out the required trailing 0.

    I’ve set the step to 0.01 but its made to difference. I really need the trailing 0 to appear…

    Any ideas?

    Cheers!

    https://wordpress.org/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Number field removing trailing 0's in decimals’ is closed to new replies.