// MathCeiling.cpp : メイン プロジェクト ファイルです。 #include "stdafx.h" using namespace System; int main(array ^args) { // 12.0001 以上の最小の整数を取得する double dValue = System::Math::Ceiling(12.0001); // 取得した値を表示する Console::WriteLine(dValue); //13 return 0; }