How to use the "PRINT" statements

I have an other question. In device code, how to print the value of a variable, which is a kind of real(8)? In my code, when I use the “print *” clause, it only print 6 decimals.