+ 1

Float type summing

while the built-in fun "sum" will only work for integer, how can I sum float numbers?

3rd Feb 2017, 11:26 PM
Percy
Percy - avatar
2 Antworten
0
you can make your own function that take float parameters and return the float result of summing
3rd Feb 2017, 11:36 PM
iSlam
iSlam - avatar
0
like total = total + num, yeah that solved it, thanks
3rd Feb 2017, 11:38 PM
Percy
Percy - avatar