powered by
The function converts a decimal into TeX code of vertical fractions, using functions 'denominators' and 'numerators' from the package 'fractional'.
rfrac(x)
The function returns a string of TeX code for the number in vertical fraction form.
a list of decimal numbers.
mfrac,smfrac,rfracF
mfrac
smfrac
rfracF
x <- sample(c(1:55),1)/100 rfrac(x)
Run the code above in your browser using DataLab