<commit_before>'use strict'

var greatest = require('greatest')
var precision = require('precision')

module.exports = function dollars (value, decimals) {
  decimals = decimals != null ? decimals : greatest(precision(value), 2)
  console.log(greatest(4, 2))
  return '$' + value.toFixed(decimals)
}<commit_msg>Delete console statement<commit_after>'use strict'

var greatest = require('greatest')
var precision = require('precision')

module.exports = function dollars (value, decimals) {
  decimals = decimals != null ? decimals : greatest(precision(value), 2)
  return '$' + value.toFixed(decimals)
}
{'fraction_non_alphanumeric': 0.13930348258706468, 'fraction_numerical': 0.006633499170812604, 'mean_word_length': 6.023255813953488, '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': '429221', 'n_tokens_mistral': 198, 'n_tokens_neox': 176, 'n_words': 46}