auuf 2 stellen nach dem komma runden?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • auuf 2 stellen nach dem komma runden?

    hallo,

    wie kann ich auf 2 stelle nanch dem komma runden?

  • #2
    ...ZENSOR...

    Bitte nicht so, unser Forum ist auch für Anfänger da!!
    Schließlich stehen alle Antworten Im Handbuch!

    Gruß
    Berni


    PS: sorry 4 that!
    Last edited by admin; 05-07-2002, 11:04.
    Dieses Schreiben wurde automatisch erstellt und ist ohne Unterschrift gültig.

    Comment


    • #3
      hä?? wie kannst du mir das bitte etwas genauer erklären?

      Comment


      • #4
        $foo = round (3.4); // $foo == 3.0
        $foo = round (3.5); // $foo == 4.0
        $foo = round (3.6); // $foo == 4.0

        $foo = round (1.95583,2); // $foo == 1.96

        php-Entwicklung | ebiz-consult.de
        PHP-Webhosting für PHP Entwickler | ebiz-webhosting.de
        die PHP Marktplatz-Software | ebiz-trader.de

        Comment


        • #5
          @Berni, musste man jetzt verstehen, was da vor dem Zensor da stand?...
          ich bin Toxical, und werd es auch bleiben

          Comment


          • #6
            eine beinah unqualifizierte Antwort

            @TheUser, bitte nicht schlagen, bin doch noch soooo klein

            php-Entwicklung | ebiz-consult.de
            PHP-Webhosting für PHP Entwickler | ebiz-webhosting.de
            die PHP Marktplatz-Software | ebiz-trader.de

            Comment


            • #7
              ok thx!

              Comment

              Working...
              X