R displays numbers in scientific notation
r
Solution
You can do:
format(functionResult, scientific=FALSE);
or:
as.integer(functionResult);
Problem
The result of function was displayed in scientific notation, I want to change it back to normal, but only for that function, I don't want to change the global setting. Can anyone help?