On Wed, Oct 10, 2007 at 03:49:08PM +0300, rzeno wrote: > On Wed, Oct 10, 2007 at 03:00:04PM +0300, Dan Borlovan wrote: > > > > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi > > > > $ perl -e '$a = 12162.87; $b = 19262.87 - 7100; print $a, " ", $b, " ", $a > > > $b, "\n"' > > 12162.87 12162.87 1 > > > > De ce $a > $b? > > > > perl -e '$a = 12162.87; $b = 19262.87 - 7100; print $a, " ", $b, "\n"; print > "a mai mare decit b\n" if $a > $b' > 12162.87 12162.87 > a mai mare decit b > > > man perlop > scuze, :-), am uitat partea a doua
perl -e '$a = 12162.87; $b = 19262.87 - 7100; print $a, " ", $b, "\n"; print "a mai mare decit b\n" if $a gt $b' 12162.87 12162.87 gt face comparatie ca string. -- "We must be systematic, but we should keep our systems open." -- Alfred North Whitehead, Modes of Thought -- _______________________________________________ RLUG mailing list RLUG@lists.lug.ro http://lists.lug.ro/mailman/listinfo/rlug