<commit_before><?php 
class Finance {

	protected $debug = false;

	public function debug($debug = false) {
        $this->debug = $debug;
    }
	
	public function floor($value = 0, $precision = 0) {

		$t = 1;

		for($i = 0; $i < $precision; $i++) {
			$t *= 10;
		}

		$value = doubleval($value) * $t;
		$value = floor($value);
		$value = $value / $t;

		return $value;

	}

	public function ceil($value = 0, $precision = 0) {

		$t = 1;

		for($i = 0; $i < $precision; $i++) {
			$t *= 10;
		}

		$value = doubleval($value) * $t;
		$value = ceil($value);<commit_msg>Update Finance.php<commit_after><?php 
class Finance {

	protected $debug = false;

	public function debug($debug = false) {
        $this->debug = $debug;
    }
	
	public function floor($value = 0, $precision = 0) {

		$t = 1;

		for($i = 0; $i < $precision; $i++) {
			$t *= 10;
		}

		$value = doubleval($value) * $t;
		$value = floor($value);
		$value = $value / $t;

		return $value;

	}

	public function ceil($value = 0, $precision = 0) {

		$t = 1;

		for($i = 0; $i < $precision; $i++) {
			$t *= 10;
		}
		
		$value = doubleval($value) * $t;
		$value = ceil($value);
{'fraction_non_alphanumeric': 0.2034934497816594, 'fraction_numerical': 0.02096069868995633, 'mean_word_length': 2.70873786407767, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '7437711', 'n_tokens_mistral': 528, 'n_tokens_neox': 433, 'n_words': 114}