MaskEdit1.Mask = "######.##"
or however many.
ie..# for numbers
? for alphaa

A mask will not allow anything but what is maksked.