Skip to content

Provide total sum in EUR.Cents #27

Description

@muelli

I'm currently doing a bit of a dance to get hold of the final amount:

\makeatletter
\newcommand*{\RechnungAmountValue}{%
  \the\numexpr\@RCHsum/100\relax.%
  \ifnum\numexpr\@RCHsum-(\@RCHsum/100)*100\relax<10 0\fi
  \the\numexpr\@RCHsum-(\@RCHsum/100)*100\relax
}
\newcommand{\GetRechnungAmount}{%
  \edef\myAmount{\RechnungAmountValue}%
}
\makeatother

If I could get hold of that value somewhat more easily, my life would be a tiny bit more happy.

My end goal is to pass the final amount on to epcqr, so it needs to be formatted with a ".".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions