Componentes.Terceros.DevExp.../official/x.30/ExpressSpreadSheet/Demos/CBuilder/FlyingDemo/FlyingSupport.cpp
2007-12-16 17:06:54 +00:00

20 lines
403 B
C++

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "FlyingSupport.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
int __fastcall Round(double const AVal)
{
int res;
if (AVal > 0)
res = AVal + 0.5;
else
res = AVal - 0.5;
return res;
}