php man page for numfmt_get_error_message

Query: numfmt_get_error_message

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

NUMFMT_GET_ERROR_MESSAGE(3)						 1					       NUMFMT_GET_ERROR_MESSAGE(3)

NumberFormatter::getErrorMessage - Get formatter's last error message.

	Object oriented style

SYNOPSIS
public string NumberFormatter::getErrorMessage (void )
DESCRIPTION
Procedural style string numfmt_get_error_message (NumberFormatter $fmt) Get error message from the last function performed by the formatter.
PARAMETERS
o $fmt -NumberFormatter object.
RETURN VALUES
Returns error message from last formatter call.
EXAMPLES
Example #1 numfmt_get_error_message(3) example <?php $fmt = numfmt_create( 'de_DE', NumberFormatter::DECIMAL ); $data = numfmt_format($fmt, 1234567.891234567890000); if(intl_is_failure(numfmt_get_error_code($fmt))) { report_error("Formatter error"); } ?> Example #2 OO example <?php $fmt = new NumberFormatter( 'de_DE', NumberFormatter::DECIMAL ); $fmt->format(1234567.891234567890000); if(intl_is_failure($fmt->getErrorCode())) { report_error("Formatter error"); } ?>
SEE ALSO
numfmt_get_error_code(3), intl_get_error_code(3), intl_is_failure(3). PHP Documentation Group NUMFMT_GET_ERROR_MESSAGE(3)
Related Man Pages
numfmt_format(3) - php
numfmt_get_attribute(3) - php
numfmt_get_error_code(3) - php
numfmt_parse(3) - php
numfmt_set_pattern(3) - php
Similar Topics in the Unix Linux Community
Jedi Code Format: JCF 2.40 released, Delpni 2009 support
PERL:How to convert numeric values txt file to PACKED DECIMAL File?
Awk Command help