Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added to_words2 function to convert from number to spanish words #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 10, 2024

  1. Added to_words2 function to convert from number to spanish words

    A function to_words2() was created to overcome some limitations and
    errors of to_words.
    
    to_words2 can take a number up to 1e22 or a string of digits up to 60
    digits long, and convert it to words, thus expanding the capabilities
    of to_words.
    
    It also fixes some errors of to_words, particularly the conversion of
    quantities ending in "millions", that were converted to "millones y
    mil" by to_words().
    
    devtools::document() was run in order to update the documentation of
    the package, but some adjustments may be needed in the original
    functions, as the following error was displayed:
    
       ✖ spanish.R:28: `@docType "package"` is deprecated.
       ℹ Please document "_PACKAGE" instead.
    PavoDive committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    0e61aec View commit details
    Browse the repository at this point in the history