I have several pages that show tables of numeric results that can be in the form "< 0.01", "2.123123", "1231234" etc...
I need to create a function that can take a number of any format and return the same number but formatted to the current culture.
The trouble is I do not know what type of number I am going to be dealing with so I do not know what variable type to use. Any Ideas?
Also most number types have a function ToString() that will accept format and provider (holding the culuture information) that will reformat the number for the specific culture.
But again I do not know what format the number is to send as an argument.
Any help would be greatly appreciated.