Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.
currency
currency
Laatste Update: 2011-10-23
Gebruiksfrequentie: 2
Kwaliteit:
예 2. sprintf(): formatting currency
$money1 = 68.75; $money2 = 54.35; $money = $money1 + $money2; / / echo $money will output "123.1"; $formatted = sprintf("%01.2f", $money); / / echo $formatted will output "123.10 "
\<emph\>currency:\</emph\> 숫자 앞에 달러 기호를 삽입하고 음수를 괄호로 묶습니다.
\<emph\>currency:\</emph\> inserts a dollar sign in front of the number and encloses negative numbers in brackets.
currency 변수는 내부적으로 64비트 숫자(8바이트)로 저장되며 소수점 앞 자릿수가 15자리이고 소수점 이하 자릿수가 4자리인 고정 소수점 숫자로 표시됩니다. 값 범위는 -922337203685477.5808에서 +922337203685477.5807까지입니다. currency 변수는 정확도가 높은 통화 값 계산에 사용되며 유형 선언 문자는 "@"입니다.
currency variables are internally stored as 64-bit numbers (8 bytes) and displayed as a fixed-decimal number with 15 non-decimal and 4 decimal places. the values range from -922337203685477.5808 to +922337203685477.5807. currency variables are used to calculate currency values with a high precision. the type-declaration character is "@".