How do I modify the product page to accept partial quantities? I want to allow decimal quantities, how can I change the logic to do so?

I want to modify the site to sell fabric in meters, and I want the users to be able to select 1.5 meters, 1.2 meters and so on. Since its not a default/available option, I wanted to use CORVID to modify the logic, how may I do so?