public/wordpress/wp-content/plugins/wp-courseware/includes/functions/core.php
/**
 * Get rounding precision for calculations.
 *
 * Will increase the precision of wpcw_get_currency_decimals by 2 decimals, unless WPCW_ROUNDING_PRECISION is set to a higher number.
 *
 * @since 4.3.0
 *
 * @return int The rounding precision integer.
 */
Get rounding precision for calculations.
Will increase the precision of wpcw_get_currency_decimals by 2 decimals, unless WPCW_ROUNDING_PRECISION is set to a higher number.



@return int The rounding precision integer.
Get rounding precision for calculations . Will increase the precision of wpcw_get_currency_decimals by 2 decimals unless WPCW_ROUNDING_PRECISION is set to a higher number . @return int The rounding precision integer .
function wpcw_get_rounding_precision() {
	$precision = wpcw_get_currency_decimals();
	if ( absint( WPCW_ROUNDING_PRECISION ) > $precision ) {
		$precision = absint( WPCW_ROUNDING_PRECISION );
	}
	return $precision;
}
function wpcw_get_rounding_precision ( ) { $ precision = wpcw_get_currency_decimals ( ) ; if ( absint ( WPCW_ROUNDING_PRECISION ) > $ precision ) { $ precision = absint ( WPCW_ROUNDING_PRECISION ) ; } return $ precision ; }
Get rounding precision for calculations.
Get rounding precision for calculations .