Parse mins as a double to support decimals.

Fixes #778