Why not use echo to see the content of the string you pass to parseInt?

Note: for bash command expr / indicates integer division. For Nim / is floating 
point division, you may use div for integer division, or you may round the 
floating point result. So may guess is that you pass a floating point number to 
parseInt, which it may not like.

Reply via email to