Skip to content

Commit

Permalink
fix conversion to eur/usd
Browse files Browse the repository at this point in the history
  • Loading branch information
bchamagne committed Dec 21, 2023
1 parent 79333d1 commit 07d606e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,13 @@ defmodule ArchethicPlaygroundWeb.DeployComponent do
eur:
uco
|> Kernel.*(eur_rate)
|> trunc()
|> Archethic.Utils.from_bigint()
|> Float.round(3),
usd:
uco
|> Kernel.*(usd_rate)
|> trunc()
|> Archethic.Utils.from_bigint()
|> Float.round(3)
})
Expand Down

0 comments on commit 07d606e

Please sign in to comment.