Created
September 4, 2013 19:29
-
-
Save viclib/6441678 to your computer and use it in GitHub Desktop.
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
global.perfis = {} | |
for p,perfil of data.perfis | |
perfis[p] = {} | |
for c,cat of perfil | |
perfis[p][c] = {} | |
for sc,parcela of cat.divisao | |
categoria[sc] = c | |
perfis[p][c][sc] = interpolated (map (->it*parcela/100), cat.percentuais), 0, 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment