Decimal literal assigned : Decimal « Data Type « Visual C++ .NET






Decimal literal assigned

 
#include "stdafx.h"
using namespace System;

void main()
{
    int     x = 456789;             // 
    Console::WriteLine( x );               
}

   
  








Related examples in the same category

1.Cast to decimal
2.Decimal calculation
3.Decimal constructor
4.Using Decimal constructor
5.Break decimal up into 4 parts