DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.84k stars 463 forks source link

more numeric formats for formatted numbers #4706

Closed myk002 closed 2 weeks ago

myk002 commented 3 weeks ago

From Reddit:

Another option: 3 significant figures. So (dividing by 10 each time) "1.23M", "123k", "12.3k", "1.23k", "123". If you have a million of something, does it really matter if it's a million and one or a million and two? Change "3 SF" to however many significant figures you think are, well, significant...

Also from Reddit:

Honestly seeing uncertain quantities like "1E3" would be kinda neat. Useful? Doubtful. But it would be clear and usable (especially if the user purposefully set it themselves) since you could just compare the E numbers. Doubtful that it's easier than just looking at which string of 0's is longer, but Dwarf Fortress isn't about taking the easy way out is it?