Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
greenbigfrog committed Jun 18, 2020
1 parent 346047d commit 15a9a64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pg_ext/big_decimal.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ module PG
# Returns a BigDecimal representation of the numeric. This retains all precision.
def to_big_d
return BigDecimal.new("0") if nan? || ndigits == 0

# Since BigDecimal allows initialaztion from String, why should one reinvent the wheel?
BigDecimal.new(to_s)
end
end
Expand Down

0 comments on commit 15a9a64

Please sign in to comment.