Change currency format to show 4 decimal places instead of 2 globally

后端 未结 2 1565
甜味超标
甜味超标 2021-01-11 10:32

I have a working website, where I use this expression everywhere.

price.ToString(\"C\")

It currently shows 2 decimal places, eg. $1.45

2条回答
提交回复
热议问题