#include "stdafx.h" using namespace System; void main() { Decimal x = (Decimal)0.1234567890123456789012345678; // will get truncated Decimal y = (Decimal)0.0000000000000000789012345678; // works fine Console::WriteLine( x ); Console::WriteLine( y ); }