diff --git a/macros/cents_to_dollars.sql b/macros/cents_to_dollars.sql index 3593a3fb..0113ad3e 100644 --- a/macros/cents_to_dollars.sql +++ b/macros/cents_to_dollars.sql @@ -15,3 +15,7 @@ {% macro bigquery__cents_to_dollars(column_name) %} round(cast(({{ column_name }} / 100) as numeric), 2) {% endmacro %} + +{% macro fabric__cents_to_dollars(column_name) %} + cast({{ column_name }} / 100 as numeric(16,2)) +{% endmacro %}