🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Output format problem

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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

 

 

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    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

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi Mario,

    'exponetial' format works well for me.

    Thank you so much for your reply.

     

    Best regards