From f14474bdca23390538cf6c8d57a0db61389f5240 Mon Sep 17 00:00:00 2001 From: Gustavo Bicalho Date: Fri, 16 Jul 2021 18:59:39 -0300 Subject: [PATCH] remove print statements --- CHANGELOG.md | 3 +++ lib/src/big_decimal.dart | 2 -- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 353730f..66dc81a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## 0.2.1 +- Remove undue logs + ## 0.2.0 - Implement and test toDouble, toBigInt and toInt diff --git a/lib/src/big_decimal.dart b/lib/src/big_decimal.dart index 93c8952..40d9c32 100644 --- a/lib/src/big_decimal.dart +++ b/lib/src/big_decimal.dart @@ -348,8 +348,6 @@ class BigDecimal implements Comparable { final adjusted = (intStr.length - 1) - scale; // Java's heuristic to avoid too many decimal places if (scale >= 0 && adjusted >= -6) { - print(intStr); - print(scale); if (intStr.length > scale) { final integerPart = intStr.substring(0, intStr.length - scale); b.write(integerPart); diff --git a/pubspec.yaml b/pubspec.yaml index 7fac2a3..645fb9e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: big_decimal -version: 0.2.0 +version: 0.2.1 description: > A bugless implementation of BigDecimal in Dart based on Java's BigDecimal