Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore(numfmt): switch default numfmt pattern (#3269)

Gpound.liuc7b5319d5da6
diff --git a/packages/sheets-numfmt/src/commands/commands/set-currency.command.ts b/packages/sheets-numfmt/src/commands/commands/set-currency.command.ts
index f81fddc571..54d049d577 100644
--- a/packages/sheets-numfmt/src/commands/commands/set-currency.command.ts
+++ b/packages/sheets-numfmt/src/commands/commands/set-currency.command.ts
@@ -38,7 +38,7 @@ export const SetCurrencyCommand: ICommand = {
}
const values: ISetNumfmtCommandParams['values'] = [];
- const suffix = CURRENCYFORMAT[0].suffix(symbol);
+ const suffix = CURRENCYFORMAT[4].suffix(symbol);
selections.forEach((selection) => {
Range.foreach(selection.range, (row, col) => {