Update currency.php

Fix for division by zero error when currency class not found.