WordPress at a glance
function is not described

wc_format_refund_total() WC 1.0

Make a refund total negative.

No Hooks.

Return

float. Nothing.

Usage

wc_format_refund_total( $amount );
$amount(float) (required)
Refunded amount.

Code of wc_format_refund_total() WC 5.3.0

<?php
function wc_format_refund_total( $amount ) {
	return $amount * -1;
}