From eb4556300e89ca3d4310b189b7c604e4f6c9935e Mon Sep 17 00:00:00 2001 From: Graham McIntie Date: Fri, 13 Feb 2026 18:59:02 -0600 Subject: [PATCH] fix: safer float formatting in site show template --- lib/towerops_web/live/site_live/show.html.heex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/towerops_web/live/site_live/show.html.heex b/lib/towerops_web/live/site_live/show.html.heex index f897d710..53627d16 100644 --- a/lib/towerops_web/live/site_live/show.html.heex +++ b/lib/towerops_web/live/site_live/show.html.heex @@ -86,7 +86,7 @@

Preseem QoE Score

- {if @qoe_summary[:score], do: :erlang.float_to_binary(@qoe_summary[:score], decimals: 1), else: "—"} + {if @qoe_summary[:score], do: Float.round(@qoe_summary[:score] / 1, 1), else: "—"}

<%= if @qoe_summary[:capacity_score] do %>