input field number format | WordPress.org

Hello @aperezrivoira

Thank you very much for using our plugin. If it is a calculated field, you can use the PREC operation as the outermost operation in the equation.

PREC(X, Y) rounds the number X with Y decimals.

For example, if your equation is fieldname1*fieldname2, and you need the result with two decimals, you can edit it as follows:

PREC(fieldname1*fieldname2, 2)

If it is not a calculated field, you must use a “Currency” field, and tick the checkboxes “Format Dynamically to ” and “two decimal places” in its settings.

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer