From 6a23126cde9fdc1371ddd03b8b155358978ed7ae Mon Sep 17 00:00:00 2001 From: Carl Cudors Date: Sun, 14 Oct 2018 17:59:12 +0300 Subject: [PATCH] Bugfix --- decimal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decimal.go b/decimal.go index ed51e7c..6509542 100644 --- a/decimal.go +++ b/decimal.go @@ -54,7 +54,7 @@ var MarshalJSONWithoutQuotes = false // If Set to True, returns rounded fixed-point string with places digits after the decimal point var MarshalJSONWithDecimalPlaces = false -var MarshalJSONDecimalPlaces = 0 +var MarshalJSONDecimalPlaces int32 = 0 // Zero constant, to make computations faster. var Zero = New(0, 1)