Anonymous user
Accumulator factory: Difference between revisions
m
→{{header|Nim}}
m (→{{header|Nim}}) |
|||
Line 2,121:
=={{header|Nim}}==
Nim being a static typed language, if the accumulator function was created with an integer, it will always return an integer. So, it isn’t possible to
Three solutions are possible:
:– convert all values to float;
|