If you have the settings in the Stock for:

Allow how many decimals on Quantity

set to 2

If products_price is 4.25

And the customer orders 6.5 feet ...

$4.25 x 6.5 = $27.63

Would this work for you?