I upgrading .NET Framework 2 application in Windows Server 2003 to .NET Framework 4.5.1; and Oracle Database 10g to 12g.
Currency values are stored in database as Number(12,2)
e.g. value 416.67
After framework upgradation and deployment the values displays 41.667,00
instead of 416,67
Please note that globalization values are culture="it-IT" uiCulture="it-IT"
and the conversion is done using following code
CType(dbCommand.Parameters.Item("column").Value.ToString(), Double)
I know that the conversion to 416.67
to 41667.0
is correct under the culture="it-IT"
but I wonder how this were working correctly in previous Windows 2003 server? I don't have access to that server.
Please let me know how to solve this issue.