flyingsupport.cpp

来自「DevExpress公司出品的Borland Delphi和C++ Builde」· C++ 代码 · 共 20 行

CPP
20
字号
//---------------------------------------------------------------------------
#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;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?