signif
signif(x, digits, [base])
Rounds (in the sense of round
) x
so that there are digits
significant digits, under a base base
representation, default 10. E.g., signif(123.456, 2)
is 120.0
, and signif(357.913, 4, 2)
is 352.0
.
Examples
See Also
User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.