Add getDouble function to template
Add solution to 'Cash register'