mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
- Fixed second example (reported in User notes by Sir_Fred)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273679 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
485ec76050
commit
c398d21a01
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry xml:id="numberformatter.format" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>NumberFormatter::format</refname>
|
||||
|
@ -99,7 +99,7 @@ if(intl_is_failure(numfmt_format($fmt))) {
|
|||
<?php
|
||||
$fmt = new NumberFormatter( 'de_DE', NumberFormatter::DECIMAL );
|
||||
$fmt->format(1234567.891234567890000);
|
||||
if(intl_is_failure($fmt->getErrorCode()) {
|
||||
if(intl_is_failure($fmt->getErrorCode())) {
|
||||
report_error("Formatter error");
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue