123.456
54321
{someNumber -> f:format.currency(thousandsSeparator: ',', currencySign: '€')}
{someNumber -> f:format.currency(currencySign: '€', forceLocale: true)}
{someNumber -> f:format.currency(currencySign: 'EUR', forceLocale: 'de_DE')}
파일 보기
프로젝트 열기: neos/flow-development-collection
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$numberFormatter |
메소드 | 설명 | |
---|---|---|
render ( string $currencySign = '', string $decimalSeparator = ',', string $thousandsSeparator = '.' ) : string |
public render ( string $currencySign = '', string $decimalSeparator = ',', string $thousandsSeparator = '.' ) : string | ||
$currencySign | string | (optional) The currency sign, eg $ or €. |
$decimalSeparator | string | (optional) The separator for the decimal point. |
$thousandsSeparator | string | (optional) The thousands separator. |
리턴 | string | the formatted amount. |