R displays numbers in scientific notation [duplicate]

Solution 1:

You can do:

format(functionResult, scientific=FALSE);

or:

as.integer(functionResult);