Question : Hide decimal point while maintaining decimal places

Ok, I know this sounds like an oxymoron, but my requirement is to format a string variable in VB.NET that contains a decimal value without a decimal point. It would look something like this:

Value 100.00 would be displayed as 10000
Value 99.9 would be displayed as 999

I cannot simply do a string.replace(".", "") because I need to actually set the format property of an UltraGridColumn. It would need to be something to the effect of "{0:#.0000;(#.0000)}."

Answer : Hide decimal point while maintaining decimal places

Random Solutions  
 
programming4us programming4us