- 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:
Felipe Pena 2009-01-17 00:34:05 +00:00
parent 485ec76050
commit c398d21a01

View file

@ -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");
}
?>