Convert Decimals to Fractions

Provides functions for converting decimals to a matrix of numerators and denominators or a character vector of fractions. Supports mixed or improper fractions, finding common denominators for vectors of fractions, limiting denominators to powers of ten, and limiting denominators to a maximum value. Also includes helper functions for finding the least common multiple and greatest common divisor for a vector of integers. Implemented using C++ for maximum speed.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.2 by Alexander Rossell Hayes, 2 months ago,

Report a bug at

Browse source code at

Authors: Alexander Rossell Hayes [aut, cre, cph]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports Rcpp

Suggests covr, testthat, withr

Linking to Rcpp

System requirements: C++11

Imported by nombre.

See at CRAN