summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx13
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx2
2 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
index 2f153d46864..ff97058d20f 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx-number.dtx
@@ -2660,8 +2660,17 @@
{
\int_compare:nNnTF {#3} = 0
{
- \@@_round_final_decimal:nnw
- {#1} { 1 \@@_round_truncate:n {#2} }
+ \bool_lazy_or:nnTF
+ { \tl_if_blank_p:n {#1} }
+ { \int_compare_p:nNn {#1} = { 0 } }
+ {
+ \@@_round_final_decimal:nnw
+ {#1} { 1 \@@_round_truncate:n {#2} }
+ }
+ {
+ \@@_round_final_decimal:nnw
+ {#1} { 1 #2 }
+ }
}
{
\@@_round_final:fn
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 4217ff662f2..2766ca5ca3d 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -121,7 +121,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2022-06-22} {3.1.4}
+\ProvidesExplPackage {siunitx} {2022-07-23} {3.1.5}
{A comprehensive (SI) units package}
% \end{macrocode}
%