I use the code below, and use ifelse() to judge whether they are equal. But unique output A and B. Is that mean BHf and BH_round are different? Why they r different?
#output$BHf <- formatC(output$BH,digits = 9,format = "f")
#output$BH_round <- output$BH,digits = 9)
#output$result<- ifelse(output$BHf==output$BH_round,'A','B')
#unique(xinipian_lnc_adjustP_output_oue$result)
I have changed identical() to find if there is any difference between BHf and BH_round. The output of identical() is false. That means BHf and BH_round are different.