I had this issue when I ended up not returning anything from a function that had a return value (non void function skipped its return statement).
Your current solution prints the number to the screen and returns void. Instead, your function should return the rounded number.
Loading collection data...
I had this issue when I ended up not returning anything from a function that had a return value (non void function skipped its return statement).
Your current solution prints the number to the screen and returns void.
Instead, your function should return the rounded number.