Why??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Meenu

    #1

    Why??

    Hi,
    Why is float a=0.700000 less than 0.7?

  • termin

    #2
    Re: Why??

    0.700000 is the approximated value but 0.7 is the exact one

    Comment

    • David Resnick

      #3
      Re: Why??

      Meenu wrote:[color=blue]
      > Hi,
      > Why is float a=0.700000 less than 0.7?[/color]

      Hi,

      Please have a look at the FAQ, it answers many questions, including
      this one....



      -David

      Comment

      • Grumble

        #4
        Re: Why??

        Meenu wrote:[color=blue]
        > Why is float a=0.700000 less than 0.7?[/color]

        Why do you keep posting frequently asked questions?

        Comment

        • Kenny McCormack

          #5
          Re: Why??

          In article <dc5e32$9le$1@n ews-rocq.inria.fr>,
          Grumble <devnull@kma.eu .org> wrote:[color=blue]
          >Meenu wrote:[color=green]
          >> Why is float a=0.700000 less than 0.7?[/color]
          >
          >Why do you keep posting frequently asked questions?
          >http://www.eskimo.com/~scs/C-faq/top.html[/color]

          Gimme a T, gimme an R, gimme an O...

          Comment

          Working...