change location of safe_divide function

This commit is contained in:
Sam 2025-01-10 12:22:53 +00:00
parent 9c12ccadc5
commit e6139bcbab
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def bitcoin_business_growth_percent_diff_days_ago(args):
last_value, last_value,
last_value - first_value as difference, last_value - first_value as difference,
round( round(
100 * safe_divide((last_value - first_value), first_value), 2 100 * models_final.safe_divide((last_value - first_value), first_value), 2
) as percent_difference ) as percent_difference
from first_and_last_values from first_and_last_values
) )