Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为 Excel 使用 epplus。如何使用greater than和less than 条件来显示借方和贷方价值dr和cr。
greater than
less than
dr
cr
-123456
₹1,23,456 DR
123456
₹1,23,456 CR
我正在使用Style.Numberformat.Format = "₹ #,###.00",但它以这种方式显示结果:-₹1,23,456. 我怎样才能让它附加cr和dr?
Style.Numberformat.Format = "₹ #,###.00"
-₹1,23,456
做这样的事情:
Style.Numberformat.Format = "₹ #,###.00 \"CR\";₹ #,###.00 \"DR\""