def set_precision_provider(precision_provider):
 assert callable(precision_provider)
 global _precision_provider
 _precision_provider = precision_provider

def set_precision_provider ( precision_provider ) : assert callable ( precision_provider ) global _precision_provider _precision_provider = precision_provider
set precision provider for money instances .