Menu

Problem dividing gnuplot

Help
2022-08-01
2022-08-02
  • Romain Gontero

    Romain Gontero - 2022-08-01

    Hello i have a strange problem with gnuplot. Each time i try to divide numbers the result is 0....

    Does anyone know why ?

     
  • Hans-Bernhard Broeker

    The core problem is that you haven't tried enough different number pairs to realize that your current impression is incorrect :-)

    Nor have you read enough documentation to find the explanation there. See "help division"

     
    • Romain Gontero

      Romain Gontero - 2022-08-02

      ok you are right, i tried other numbers and in fact i only get the whole part of the number. So i understood the i was defining integer numbers. I need to write e1=1./2.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.