I'm trying to implement simpleCartjs, and I'm having issues with quantities. The products are sold by weight, so I'm trying to add something like 1.5 tons to the cart. However, when I pass something with a decimal like that, the cart ignores it and adds the whole number portion, but not the decimal. For example, 1.5 becomes 1, and .5 returns an error.
Any thoughts on why this would happen / how to fix it?