Created
December 29, 2011 15:01
-
-
Save willywg/1534464 to your computer and use it in GitHub Desktop.
Calcula TEM de TEA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def calcular_tem(tea) | |
(((1 + (tea/100))**(1.0/12.0)) - 1) * 100 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment