Thanks, that was real quick responding. Jeff Carter a �crit dans le message : 389CAE9E.19D5066F@earthlink.net... > helder da silva wrote: > > > > Anyone remembers how to truncate the first part of a float number : > > > > FROM ( float ) : 3,45 > > > > TO ( integer ) : 3 > > > > I've got a blank on this one ! > > > > Thanks. > > This must be a FAQ; we just had a thread on floating-point attributes. > > Check out your ARM Annex K for the attribute 'Truncation. While you're > there, look at 'Floor and 'Ceiling, too. > > Integer (Float'Trucation (3.45) ) = 3 > -- > Jeff Carter > "Hello! Smelly English K...niggets." > Monty Python & the Holy Grail