%%
%% This is file `decimalcomma.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% decimalcomma.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2023 by Antoine Missier <antoine.missier@ac-toulouse.fr>
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
%% or (at your option) any later version. The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2005/12/01 or later.
%% 
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{decimalcomma}
    [2023/12/30 v1.4 .dtx Comma for decimal numbers]

\@ifpackageloaded{unicode-math}{}{
  \AtBeginDocument{%
    \@ifpackageloaded{unicode-math}{
      \PackageError{decimalcomma}{decimalcomma must be loaded
        after unicode-math}{If you didn't load decimalcomma
        yourself, check which package uses it.}
    }{}
  }
}

\RequirePackage{icomma}

\def\sm@rtcomma{%
  \@tfor\decimal@digit:=0123456789%
  \do{\expandafter\ifx\decimal@digit\@let@token\mathord%
    \@break@tfor\fi}%
  \mathcomma}

\endinput
%%
%% End of file `decimalcomma.sty'.
