I know that using this MWE
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
$s=1,0\, \text{m}$
\end{document}
it gives me a bad spacing between the comma and the 0. In fact the screenshot is:
But if I use the curly brackets {,} I have the same result with the icomma package.
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
$s=1{,}0\, \text{m}$
\end{document}
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\usepackage{icomma}
\begin{document}
$s=1,0\,\text{m}$
\end{document}
Is fontmath.ltx the cause of this space?....from
\DeclareMathSymbol{,}{\mathpunct}{letters}{"3B}
Are there better alternative methods than my MWEs that I have written without to use
siunitxpackage?



,while in math mode is to denote the decimal marker, loading theicommapackage has got to be the simplest way to achieve your formatting objective. From the package's user guide: "the comma will be typeset as a punctuation character if the next input character is a space; otherwise the comma is treated as a decimal separator." – Mico Oct 14 '21 at 21:50