public/wordpress/wp-content/plugins/wp-courseware/includes/functions/core.php
/**
 * Remove precision from a number and return a float.
 *
 * @since 4.5.0
 *
 * @param float $value Number to add precision to.
 *
 * @return float
 */
Remove precision from a number and return a float.

@param float $value Number to add precision to.

@return float
Remove precision from a number and return a float . @param float $value Number to add precision to . @return float
function wpcw_remove_number_precision( $value ) {
	$cent_precision = pow( 10, wpcw_get_currency_decimals() );
	return $value / $cent_precision;
}
function wpcw_remove_number_precision ( $ value ) { $ cent_precision = pow ( 10 , wpcw_get_currency_decimals ( ) ) ; return $ value / $ cent_precision ; }
Remove precision from a number and return a float.
Remove precision from a number and return a float .