Re: No way to run my code, idk how to force a float as an Int

2017-01-23 Thread pabloclsn
You know if there is a slack or a discord channel or an for nim ?

Re: No way to run my code, idk how to force a float as an Int

2017-01-23 Thread pabloclsn
ok nice for the help it's working now I have an other problem with type mismatch with sequence haha

No way to run my code, idk how to force a float as an Int

2017-01-23 Thread pabloclsn
hi guys I have this few line, nombreDePyramides = 4 var maxLignes: int = ((nombreDePyramides+2)*(nombreDePyramides+3)/2-4) here the second line is giving me a float but I need a int because of the rest of the code and I can't find the syntax ... -Pro-de-Pablo