php - jQuery currency spinner - "normalization" -


i want use jquery spinner currency value (i.e. money), value of might in dollars, euros, or supported spinner.

the data should saved mysql database, in 1 col save currency, in value.

the problem not sure on how this. better save data in format provided spinner (therefore saving varchar), or should take step of normalizing values in , reconverting according currency when out db? note perform calculations (simple algebra) on data, values of same currency.

if want calculations inserted data, it's better store without , . / $. , wherever want show data, change currency format.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -