Skip to content

Commit

Permalink
Remove workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 2, 2024
1 parent af31046 commit 3f25f22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions ruby/red-arrow/lib/arrow/decimal128-array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
module Arrow
class Decimal128Array
def get_value(i)
string = format_value(i)
string.sub!(".E", ".0E") if string.include?(".E")
BigDecimal(string)
BigDecimal(format_value(i))
end
end
end
4 changes: 1 addition & 3 deletions ruby/red-arrow/lib/arrow/decimal256-array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ module Arrow
class Decimal256Array
# @since 3.0.0
def get_value(i)
string = format_value(i)
string.sub!(".E", ".0E") if string.include?(".E")
BigDecimal(string)
BigDecimal(format_value(i))
end
end
end

0 comments on commit 3f25f22

Please sign in to comment.