* adds casting from Decimal() to primitive float for proper calculation
* adds tests for deduction API