classes/fields/currency.php 1 location
|
@@ 687-692 (lines=6) @@
|
684 |
|
$decimals = $length; |
685 |
|
} |
686 |
|
|
687 |
|
if ( 'i18n' == pods_v( self::$type . '_format', $options ) ) { |
688 |
|
$value = number_format_i18n( (float) $value, $decimals ); |
689 |
|
} |
690 |
|
else { |
691 |
|
$value = number_format( (float) $value, $decimals, $dot, $thousands ); |
692 |
|
} |
693 |
|
|
694 |
|
return $value; |
695 |
|
|
classes/fields/number.php 1 location
|
@@ 504-507 (lines=4) @@
|
501 |
|
if ( $length < $decimals ) |
502 |
|
$decimals = $length; |
503 |
|
|
504 |
|
if ( 'i18n' == pods_var( self::$type . '_format', $options ) ) |
505 |
|
$value = number_format_i18n( (float) $value, $decimals ); |
506 |
|
else |
507 |
|
$value = number_format( (float) $value, $decimals, $dot, $thousands ); |
508 |
|
|
509 |
|
return $value; |
510 |
|
} |