Update DefaultController.php

As number of digits may vary, formulas taking start and stop position of the rate based on location of 'Ask' and 'Bd' strings where included