in the textboxes of my form,the project accepts as decimal sign the comma ",".

what's the code to make it work with both "," and "." ? that way, i am avoiding error messages and unsufficiencies in the calculations that my form does.