I am passing a value stored as Real datatype in database(SQL 2005), and passing it onto an external payment site. Now before passing this, i am converting it to a string datatype and replacing the "." by "", because all the information to be sent is combined in a string. However, when it reaches that site, the value displayed is 3 decimal places forward, so say the value which i am passing is 17.236, the new value would be 17236....
However, what's puzzling me is that there is also another value which is stored as float in the database, when that is passed, in a similar fashion is showing the information correctly, i.e. at the correct precision point. Not sure what's going on... could this be a culture issue??
However, what's puzzling me is that there is also another value which is stored as float in the database, when that is passed, in a similar fashion is showing the information correctly, i.e. at the correct precision point. Not sure what's going on... could this be a culture issue??