Skip to content

Instantly share code, notes, and snippets.

@willywg
Created December 29, 2011 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willywg/1534464 to your computer and use it in GitHub Desktop.
Save willywg/1534464 to your computer and use it in GitHub Desktop.
Calcula TEM de TEA
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