#ifndef DivideH
#define DivideH
//---------------------------------------------------------
#include <SysUtils.hpp>
#include <Classes.hpp>
//---------------------------------------------------------
class PACKAGE TDivide : public TComponent
{
private:
  Extended FNumber1 ;
  Extended FNumber2;
  Extended FResult;

protected:
public:
   __property Extended Result= {read =FResult};
   //Result służy jedynie do odczytu wyniku
   //zmiennopozycyjnego dzielenia,
   //dlatego nie używamy tu słowa write

   __fastcall TDivide(TComponent* Owner);
   // konstruktor
   void Divide2Numbers();
__published:
  __property Extended Number1= {read =FNumber1, write= FNumber1};
  __property Extended Number2= {read =FNumber2, write =FNumber2};

};
//---------------------------------------------------------
#endif
 