Problem converting from string to decimal
Hi
I got a asp page in which one of the text field is taking a decimal value.In the database it is given as a float datatype.But since now some users are giving values like 123.0333.000 i wanted to eliminate all '.' points and send it as a numeric value to the table.so i used the replace function.but when i am using that,the value 0 is getting inserted instead of the real value.I tried the same codes in a new page i created.But there it is working perfectly.Can anyone help me with some suggestions?
Thanks
|