public static function floor($arg1, $scale = 0) : string {
		if ($arg1[0] != '-') {
			return bcadd($arg1, '0', $scale);
		} else {
			$value = '1';
			if ($scale != 0) {
				$value = self::divide('1', 10 ** $scale, $scale);
			}
			return bcsub($arg1, $value, $scale);
		}
	}
public static function floor($arg1, $scale = 0) : string {
		if ($arg1[0] != '-') {
			return bcadd($arg1, '0', $scale);
		} else {
			$value = '1';
			if ($scale != 0) {
				$value = self::divide('1', 10 ** $scale, $scale);
			}
			return bcsub($arg1, $value, $scale);
		}
	}
public static function floor ( $ arg1 , $ scale = 0 ) : string { if ( $ arg1 [ 0 ] != '-' ) { return bcadd ( $ arg1 , '0' , $ scale ) ; } else { $ value = '1' ; if ( $ scale != 0 ) { $ value = self :: divide ( '1' , 10 ** $ scale , $ scale ) ; } return bcsub ( $ arg1 , $ value , $ scale ) ; } }
Floor, round fractions down

@param string $arg1
@param int $scale
@return string
Floor round fractions down