Enable Decimal Values in Quantity Fields

This form uses the Calculation Subtotal Merge Tag snippet to enable decimal values on Gravity Form quantity fields.
Quantity is measured in pounds. A quantity of "1" will be one pound and cost $5.00. A quantity of "1.5" will be one and a half pound and cost $7.50.
Price: $5.00
This is also a quantity field that has decimals enabled. With this quantity field, we're measuring in ounces and the price of each powder is per ounce.

This demo is powered by Gravity Forms v2.5.11.