Created
September 4, 2013 19:29
-
-
Save viclib/6441678 to your computer and use it in GitHub Desktop.
Revisions
-
viclib created this gist
Sep 4, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ 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