<commit_before>module Paypal
  module Util

    def self.formatted_amount(x)
      sprintf("%0.2f", (BigDecimal.new(x.to_s) * 100).truncate / 100.0)<commit_msg>thanks @nahi ;)<commit_after>module Paypal
  module Util

    def self.formatted_amount(x)
      # Thanks @nahi ;)
      sprintf "%0.2f", BigDecimal.new(x.to_s).truncate(2)
{'fraction_non_alphanumeric': 0.14457831325301204, 'fraction_numerical': 0.03614457831325301, 'mean_word_length': 3.757142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2926081', 'n_tokens_mistral': 136, 'n_tokens_neox': 123, 'n_words': 22}