Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
greenbigfrog committed Oct 23, 2019
1 parent a3e10c8 commit 0afafe1
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 0afafe1

Please sign in to comment.