Well then color me confused. I still don't know quite what you're asking for.

http://en.wikipedia.org/wiki/Floating_Point

public: System::Void CertemD(){
 
MyDouble t1=0.0;
MyDouble t2=0.0;
MyDouble t4=0.0;
 
t1=(Convert::ToMyDouble(textBox3->Text)); 
t2=(Convert::ToMyDouble(textBox4->Text));
t4=t1*t2;
DataRow^ dr = Ardic2DataSet->Tables[0]->NewRow(); 
dr[0]=Convert::ToInt32(textBox1->Text);
dr[1]=(textBox2->Text);
dr[2]=Convert::ToMyDouble(textBox3->Text);
dr[3]=Convert::ToMyDouble(textBox4->Text);
dr[4]=t4;
 
textBox5->Text=Convert::ToString(dr[4]);
 
dr[5]=(textBox6->Text);
Ardic2DataSet->Tables[0]->Rows->Add(dr);
 
};

I feel myself guilty of not being able to tell what I want. The deep inside float,binary, way of storing data in some different styles are beyond my interest why I touched them is just to be able to OWN a MyDouble THING with rounded off to two decimals right to the decimal point. I am using Microsoft's V.S. Express edition and my program is a windows form program. To make it clear: to the least I can use Math::Round but as I said previously in this post I wanted the MyDouble THING not only as a toy but for the sake of simplicity !? and some other things... Finally although it didn't solve my problem ~s.o.s~'s dummy with a touch of Ancient Dragon's was the most helpful one. The rest contributed to my knowledge thank you all. This doesn't mean i give up searching if anybody has anything it will be welcomed.

Don't try to manually color the code which you post. Just put the code in code tags and it would be displayed accordingly.

No attempt to color the code saw it in the preview screen it looked wrong and i deleted some part so correct the preview or me

no idea pls

Can you tell me the brief defination of variable.
and difference between variable & constant.

<url snipped>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.