From 6c3411a9450e9ed9f1e4da2c7e22ada16a528743 Mon Sep 17 00:00:00 2001 From: David Lowry-Duda Date: Fri, 10 May 2024 17:48:10 -0400 Subject: [PATCH] Correct display --- lmfdb/maass_forms/web_maassform.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lmfdb/maass_forms/web_maassform.py b/lmfdb/maass_forms/web_maassform.py index 0812ed49a8..ed98d13975 100644 --- a/lmfdb/maass_forms/web_maassform.py +++ b/lmfdb/maass_forms/web_maassform.py @@ -115,6 +115,7 @@ def exponential_form(mantissa, negative_exponent, digits_to_show=9): """ Format the number `mantissa * 10^(-negative_exponent)` nicely. """ + mantissa = str(mantissa) if negative_exponent == 0: return mantissa[:digits_to_show] return mantissa[:digits_to_show] + r" \cdot 10^{-" + str(negative_exponent) + "}"