Output format problem

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi,

I use template function *field(real,x,14) to output X-coordonate of node.

Sometime I got '1.31096108-15' and my software claims that's not correct scientific format.

How to make output of the form 1.31096108E-15 please ?

 

Thanks

 

 

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2013

    Hello,

     

    Maybe it is a problem, since you have ordered values of type real with a maximum width of 14. Your value has more then 14 digits, so there is a conflict.

    Try to use the 'exponential' format. I can't check it so fast, it is more or less a assumtion...

     

    Regards,

    Mario

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2013

    Hi Mario,

    'exponetial' format works well for me.

    Thank you so much for your reply.

     

    Best regards