Skip to content

Commit 6fa0ccd

Browse files
committed
gw-round-total.js: Migrated from experimental folder.
1 parent 2368855 commit 6fa0ccd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

experimental/gw-round-total.js renamed to gravity-forms/gw-round-total.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* Experimental Snippet 🧪
3+
*/
14
// Round the total field
25
gform.addFilter( 'gform_product_total', function(total, formId){
36
var interval = 1; // Change this to the nearest percision (e.g. 10 rounds to the nearest 10,20,30... etc.)

0 commit comments

Comments
 (0)