Best Practice - Format Multiple Currencies

前端 未结 5 1424
我寻月下人不归
我寻月下人不归 2020-12-24 14:23

What is best practice for the scenario listed below?

We have an application which we would like to support multiple currencies. The software will respect the users l

5条回答
  •  感情败类
    2020-12-24 15:15

    I faced a similar situation. I found a way, dont know how useful it will be for you. But it solved my problems. I set a session string for each place like Session["cur"]="0.000" or "0.00" for each login authentication. And where ever currency comes in the system I used .ToString[Session["cur"].ToString()] to the model variables. It did the trick for me . Hope it helps you too .

提交回复
热议问题