fp

Fixed-point arithmetic.

Loading

\usepackage{fp}

Built into mLaTeX. Loading it is accepted and reads nothing; what the package does is mLaTeX's own work, and any command of it that mLaTeX does not define comes from the glossary.

Commands

\FPadd, \FPeval, \result.

Example

A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:

fp.tex
\documentclass{article}
\usepackage{fp}
\begin{document}
\FPeval{\result}{2*(3+4)}\result, \FPadd{\sum}{1.5}{2.25}\sum.
\end{document}
OutputLoading mLaTeX in your browser
Loading mLaTeX