Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
greenbigfrog committed Feb 5, 2018
1 parent f1d550b commit 4f81c1a
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 4f81c1a

Please sign in to comment.