Make the BegValue accept double values