... :: toNumber ( 1000 ); // Affiche 1 000 echo Zend_Locale_Format :: toNumber ( 1.23 ); // Affiche 1,23 ?> Pour convertir un nombre ...
Maxence - 02/06/2009 - 14:56 - 0 commentaires
... },{ anchor: "25% -50", html: "Panneau qui prend 1/4 de la largeur de la page et la hauteur de la page - 50px", }], ... items: [{ columnWidth: 0.5, html: "Colonne 1" }, { columnWidth: 0.5, html: "Colonne 2", }], ...
Maxence - 31/03/2009 - 16:55 - 1 commentaire
... , 'UTF-8' )); return $c [ 1 ]; } ?> Cette fonction nécessite que l'extension ... 'UTF-8' )); return $c [ 1 ]; } /** ... ( mb_substr ( $text , $x , 1 )); } $font = $this ...
Maxence - 05/06/2009 - 11:45 - 0 commentaires
... qu'est ce qui est affiché ? Réponse : array(1) { [3] => string(3) "abc" } Le nombre à virgule flottante est ... ( $test ); ?> Résultat : array(1) { ["3.1415"]=> string(3) "abc" } Un petit cast en string. Je suis ...
Maxence - 26/02/2011 - 09:30 - 0 commentaires
... If (element.Closed = True ) Then i=i+1 End If End If Next return i ...
omar - 07/08/2011 - 15:56 - 0 commentaires
... $yahoo -> webSearch ( $argv [ 1 ], array( 'language' => 'fr' , ... => 'fr' ) ); $pos = 1 ; echo PHP_EOL ; foreach ( $results as $result ...
Maxence - 09/07/2009 - 12:51 - 0 commentaires
... name="ma_case_a_cocher" id="ma_case_a_cocher" value="1"> Grace à cette astuce, quand la case est cochée, la valeur 1 est passée dans le champ ma-case-a-cocher . Si la case n'est pas cochée, ...
Maxence - 13/12/2010 - 10:34 - 0 commentaires
... à une autre et encore plus d'un système à un autre [1]. Sinon pour faire de la translitération, il existe l'extension PECL translit [2] bien plus souple que iconv(). [1] http://msdn.microsoft.com/en-us/library/39cwe7zf.aspx [2] ...
Maxence - 24/12/2010 - 11:19 - 2 commentaires
... IndexOf ( "@" ) If pos <> - 1 Then _username = username . Substring ( 0 , ... _domain = username . Substring ( pos + 1 ) Else _domain = domain ...
Maxence - 07/08/2010 - 11:52 - 0 commentaires
... // Affiche 1 243,56 € Conversion d'une chaine locale en nombre On peut ... 243,56 €")); // Affiche 1243.56 Pourcentages ...
Maxence - 30/12/2009 - 12:40 - 0 commentaires