How can I make R display decimal number instead of 'e' (exponent in math)

Result of P-value like a photo below is 2.129e-05, but I want it display with decimal number instead, it will easy to read with everyone.
Please help me to solve this problem, thank you so much.

螢幕擷取畫面 2022-08-12 165158

interactive printing is controlled by 'scientific penalty' option like so.

(myvalue <- 2.129*10^-5)
#[1] 2.129e-05
(myvalue <- 2.129*10^-5)
#[1] 0.00002129
(myvalue <- 2.129*10^-5)
#[1] 0.00002129

the higher the penalty value the less likely scientific notation is to be used

1 Like

Thank you so much, I have resolved the problem.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.