In windows form application, C# using Visual Studio 2012
My mask is 0.00 but when I enter 3.00 it consider just 3 not 3.00 and also when enter 3.30 it consider 3.3 but if I enter 3.01 then this value being considered.
problem is I want that it consider last zero's also.
in form designer code:
this.maskedTextBox1.Location = new System.Drawing.Point(402, 121);
this.maskedTextBox1.Mask = "0.00";
this.maskedTextBox1.Name = "maskedTextBox1";
this.maskedTextBox1.PromptChar = '-';
this.maskedTextBox1.Size = new System.Drawing.Size(31, 22);
this.maskedTextBox1.TabIndex = 23;
this.maskedTextBox1.ValidatingType = typeof(System.DateTime);
this.maskedTextBox1.MaskInputRejected += new
System.Windows.Forms.MaskInputRejectedEventHandler(this.maskedTextBox1_MaskInputRejected);