I have selected same query in Oracle and t-sql, I am little confused
answers is on the contrary.
(I am interested in difference between float and decimal)
Some explanations?
T-sql:
DECLARE @A decimal(30,20);   
DECLARE @b float(10);
set @A=100
set @b=100
select 
  @A/3 + @A/3 + @A/3 as decimal,
  @b/3 + @b/3 + @b/3 as float
Oracle:
Declare flt Float;
        dcm Decimal(30,20);
Begin
  flt:=100;
  dcm:=100;
  flt:=flt/3+flt/3+flt/3;
  dcm:=dcm/3+dcm/3+dcm/3;
  dbms_output.put_line(flt);
  dbms_output.put_line(dcm);
End;
 
     
    