ZF-12197: Zend_Locale_FormatTest::testIsFloat fails in localized environment

Description

My locale is set to cs_CZ. This is causing Zend_Locale_FormatTest::testIsFloat to fail on:

$this->assertTrue(Zend_Locale_Format::isFloat('123.345'));

because in cz_CZ the decimal separator is ",".

Tests pass when setlocale(LC_ALL, 'en_US') is preceded before this assert call.

Comments

No comments to display