Support » Plugin: Visual Form Builder » Number in scientific notation

  • Resolved jlehrer

    (@jlehrer)


    I have a number field that has started to convert entries to scientific notation. For example, the number entered was 10341170130000 but it came across as 1.034117013E+13. The field is formatted as a number, with the validation set to “number.” I’m using ver 2.7.8. The form used to work properly but it started giving me the scientific notation recently after the site was moved to a different folder on the web host.

    http://wordpress.org/plugins/visual-form-builder/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matthew Muro

    (@mmuro)

    What you are seeing is a physical limitation of PHP. All numbers are sanitized on the back-end to make sure your data is what it’s supposed to be. The workaround is to use a Text field with the digits validation. I do have a new solution that I will put in place for the next update, though.

    Matthew, thank you for responding so quickly. The text field works well for my purposes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Number in scientific notation’ is closed to new replies.