Online File

How to use this page


Rick Aster: Professional SAS Programming Secrets: Contents

Chapter 11
Program 11a
Rounding error


*
  Professional SAS Programming Secrets
  Program 11a
  Rounding error
*;

data _null_;
   f = 1/7;
   x1 = f*6;
   x2 = 1 - f;
   difference = x2 - x1;
   put (_all_) (=);
   if x1 = x2 then put 'Equal';
   else put 'Unequal';
run;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Secrets

Contents/Online Files

Corrections