Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I will get the "ending" output:#!/usr/bin/perl -w #============= START PROGRAM ======================== $p_R = .1;<BR> for( $Go_R = 0.0; $Go_R < 7; $Go_R += $p_R) {#------------------------------------ FOR $Go_R print "Go_R = $Go_R\n";<BR> }#-------------------------------- END FOR $Go_R #=============== END PROGRAM ========================
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 1: Strange concerning floats
by tilly (Archbishop) on Nov 07, 2001 at 22:43 UTC | |
|
Re: Strange concerning floats
by kwoff (Friar) on Nov 07, 2001 at 22:58 UTC | |
|
Re: Strange concerning floats
by Fastolfe (Vicar) on Nov 08, 2001 at 00:26 UTC |