> On Dec 11, 2015, at 9:40 PM, Fande Kong <[email protected]> wrote:
> 
> Hi all,
> 
> By default, PetscPrintf prints 6 digits.

   Not really, it uses the standard printf format commands.

> How to specify how many digits we could print using PetscPrintf? For example, 
> I want to print 16 digits for a double value (PetscReal).

   See for example 
http://pubs.opengroup.org/onlinepubs/009695399/functions/fprintf.html

  Barry

> 
> 
> Thanks,
> 
> Fande,

Reply via email to