Help for this page

Select Code to Download


  1. or download this
    my $increment = ($var1 + 0) || $var2;
    $value += $increment;
    
  2. or download this
    my $increment = ($var1 ne '0.00') ? $var1
                                      : $var2;