Does Duplicati use binary or decimal units?

Duplicati uses KB, MB, and GB. Are these the proper binary units (powers of two) or are they the smelly decimal redefinitions?

I prefer binary because that’s the style that everything important uses (my OS when showing file sizes, RAM sizes etc.) but it’s not clear which one Duplicati uses. I don’t use the silly “MiB” and “GiB” stuff either. I don’t know why they didn’t make the new decimals ones use those instead of trying to redefine the old ones, but anyway…

I searched but didn’t see an answer. Which does Duplicati use and if it’s decimal how do I fix it?

1 Like


Strings.Utility.FormatStringGB(size / (1024 * 1024 * 1024));
1 Like