classes/fields/number.php
public function get_number_format_args( $options ) {

		global $wp_locale;

		if ( '9.999,99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = '.';
			$dot       = ',';
		} elseif ( '9,999.99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = ',';
			$dot       = '.';
		} elseif ( '9\'999.99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = '\'';
			$dot       = '.';
		} elseif ( '9 999,99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = ' ';
			$dot       = ',';
		} elseif ( '9999.99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = '';
			$dot       = '.';
		} elseif ( '9999,99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = '';
			$dot       = ',';
		} else {
			$thousands = $wp_locale->number_format['thousands_sep'];
			$dot       = $wp_locale->number_format['decimal_point'];
		}//end if

		$decimals = $this->get_max_decimals( $options );

		return array(
			'thousands' => $thousands,
			'dot'       => $dot,
			'decimals'  => $decimals,
		);
	}
public function get_number_format_args( $options ) {

		global $wp_locale;

		if ( '9.999,99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = '.';
			$dot       = ',';
		} elseif ( '9,999.99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = ',';
			$dot       = '.';
		} elseif ( '9\'999.99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = '\'';
			$dot       = '.';
		} elseif ( '9 999,99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = ' ';
			$dot       = ',';
		} elseif ( '9999.99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = '';
			$dot       = '.';
		} elseif ( '9999,99' === pods_v( static::$type . '_format', $options ) ) {
			$thousands = '';
			$dot       = ',';
		} else {
			$thousands = $wp_locale->number_format['thousands_sep'];
			$dot       = $wp_locale->number_format['decimal_point'];
		}//end if

		$decimals = $this->get_max_decimals( $options );

		return array(
			'thousands' => $thousands,
			'dot'       => $dot,
			'decimals'  => $decimals,
		);
	}
public function get_number_format_args ( $ options ) { global $ wp_locale ; if ( '9.999,99' === pods_v ( static :: $ type . '_format' , $ options ) ) { $ thousands = '.' ; $ dot = ',' ; } elseif ( '9,999.99' === pods_v ( static :: $ type . '_format' , $ options ) ) { $ thousands = ',' ; $ dot = '.' ; } elseif ( '9\'999.99' === pods_v ( static :: $ type . '_format' , $ options ) ) { $ thousands = '\'' ; $ dot = '.' ; } elseif ( '9 999,99' === pods_v ( static :: $ type . '_format' , $ options ) ) { $ thousands = ' ' ; $ dot = ',' ; } elseif ( '9999.99' === pods_v ( static :: $ type . '_format' , $ options ) ) { $ thousands = '' ; $ dot = '.' ; } elseif ( '9999,99' === pods_v ( static :: $ type . '_format' , $ options ) ) { $ thousands = '' ; $ dot = ',' ; } else { $ thousands = $ wp_locale -> number_format [ 'thousands_sep' ] ; $ dot = $ wp_locale -> number_format [ 'decimal_point' ] ; } //end if $ decimals = $ this -> get_max_decimals ( $ options ) ; return array ( 'thousands' => $ thousands , 'dot' => $ dot , 'decimals' => $ decimals , ) ; }
Get the formatting arguments for numbers.

@since 2.7.0

@param array $options Field options.

@return array {
@type string $thousands
@type string $dot
@type int    $decimals
}
Get the formatting arguments for numbers .