Repository navigation
This version fixes rounding carries for negative numbers and preserves fractional digits when formatting with non-Latin numbering systems.
dn.toString([-199n, 2], 0); // "-2" (previously "-0")
dn.format([123456n, 2], { locale: "ar-EG" }); // "١٬٢٣٤٫٥٦" (previously "١٬٢٣٤")It also fixes compact notation in languages that put the label before the number, and improves decimal arithmetic and repeated locale formatting performance.