On 2012-08-31 15:17, Torsten wrote:
I found a strange behaviour for printf: If you do for example
printf "%d",29/100*100
you get 28. But with
printf "%d",29*100/100
it's 29. Seems to be related to rounding.
The perl version is 5.10.1 on debian.
There is nothing strange about it.
I think y
On 2012-08-20 22:39, Rajeev Prasad wrote:
just want to find out in how many records string was found:
my $count=0;
seek $tmp_FH,0,0;
while (<$tmp_FH>)
{
my $line=$_;chomp($line);
if ($line=~m/\"$str\"/) {$coun
Am Sun, 02 Sep 2012 13:12:02 +0200
schrieb "Dr.Ruud" :
> On 2012-08-31 15:17, Torsten wrote:
>
> > I found a strange behaviour for printf: If you do for example
> >
> > printf "%d",29/100*100
> >
> > you get 28. But with
> >
> > printf "%d",29*100/100
> >
> > it's 29. Seems to be related to round
Thank you Peng. Are there any other suggestions from the list?
Thanks in advance,
Chris
On Aug 30, 2012, at 6:46 AM, Chris Stinemetz wrote:
> Hello List,
>
> I am creating a program, where for the first time, I will be reading
> in data from a socket port.
>
> I am a bit confused about how to print the processed data while still
> reading in data from the port. Thus far, I have on
Thank you so much Jim.
-Chris