change location of safe_divide function
This commit is contained in:
parent
9c12ccadc5
commit
e6139bcbab
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue