Documentation

Rounding

You can round the value of a Number Field by selecting the ‘Round the Value’ checkbox in the General Field Settings:

Rounding numbers

Rounding the value inside the Number Field up to 5 decimal places.

Rounding method

Decide which direction to round the value:

  • Round: Rounds up or down dependent on the closest: with two decimal places, 1.224 will turn into 1.22 and 1.226 will turn into 1.23
  • Ceil: Rounding the value up: both 1.224 and 1.226 will turn into 1.23
  • Floor: Rounding the value down: 1.224 and 1.226 will turn into 1.22

Demo Rounding numbers in Gravity Forms

See also our Tutorial Rounding numbers in Gravity Forms.

Last updated: 17-02-2022

Advanced Number Field1.0-beta.9

For this functionality you need the GravityWP - Advanced Number Field Add-on installed.

Read more

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close