Avoid precision errors in cb-currency directive

Fixes #6