Allows arithmetic operations on "english" class objects. To make sense the operation should return an integer value.

# S3 method for class 'english'
Ops(e1, e2)

Arguments

e1

Numeric vector of object of class "english".

e2

Numeric vector of object of class "english".

Value

Numeric vector of class "english"

Examples

english(1:10)^2 + 1:10
#>  [1] two             six             twelve          twenty         
#>  [5] thirty          forty-two       fifty-six       seventy-two    
#>  [9] ninety          one hundred ten
english(100) + (-5):5
#>  [1] ninety-five       ninety-six        ninety-seven      ninety-eight     
#>  [5] ninety-nine       one hundred       one hundred one   one hundred two  
#>  [9] one hundred three one hundred four  one hundred five