#include "stdafx.h"
#using
using namespace System;
int intVal = 999688599;
double doubleVal = 54.8674;
int main(void)
{
Console::Write("doubleVal = ");
Console::WriteLine(doubleVal);
Console::Write("Result = ");
Console::WriteLine((int)doubleVal);
Console::Write("intVal = ");
Console::WriteLine(intVal);
Console::Write("Result = ");
Console::WriteLine((short)intVal);
return 0;
}