mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
UI: Added new locale-aware and configurable number formatting (#354)
This commit is contained in:
@@ -85,6 +85,14 @@ export const Settings = {
|
||||
MonacoVim: false,
|
||||
/** Word wrap setting for Script Editor. */
|
||||
MonacoWordWrap: "off" as WordWrapOptions,
|
||||
/** Whether to hide trailing zeroes on fractional part of decimal */
|
||||
hideTrailingDecimalZeros: false,
|
||||
/** Whether to hide thousands separators. */
|
||||
hideThousandsSeparator: false,
|
||||
/** Whether to use engineering notation instead of scientific for exponentials. */
|
||||
useEngineeringNotation: false,
|
||||
/** Whether to disable suffixes and always use exponential form (scientific or engineering). */
|
||||
disableSuffixes: false,
|
||||
|
||||
load(saveString: string) {
|
||||
const save = JSON.parse(saveString);
|
||||
|
||||
Reference in New Issue
Block a user