Fix scientific notation for crypto currencies

It's not helpful to calculate crypto currency values with scientific notation. All values up to 7 decimals should be in standard format.
This commit is contained in:
uhliksk 2019-03-06 22:07:03 +01:00 committed by GitHub
commit ef9c328ee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@
using namespace std;
static constexpr int MAX_ZEROS_AFTER_DECIMAL = 2;
static constexpr int MAX_ZEROS_AFTER_DECIMAL = 7;
// digits 0..64 used by bases 2 .. 64
static constexpr wstring_view DIGITS = L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_@";