ea-Geiercode
[ class tree: ea-Geier ] [ index: ea-Geier ] [ all elements ]

Procedural File: numbers.inc.php

Source Location: /code/numbers.inc.php

Page Details

php functions for number handling

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Link:  http://www.ea-geier.at/
Filesource:  Source Code for this file
Version:  $Id: numbers.inc.php 133 2007-08-24 13:59:14Z m2mtech $
License:  GNU General Public License Version 2
Copyright:  2007 m2m server software gmbh
Author:  m2mtech <tech@m2m.at>
Functions
makeDot  [line 34]

boolean/string makeDot( string/float $number, [integer $newDecimals = false]  )

generates php native number format (dot)

Parameters:
string/float   $number:  number
integer   $newDecimals:  decimal precission

API Tags:
Return:  false / formated number


[ Top ]
makeDotOnly  [line 79]

boolean/string makeDotOnly( string/float $number, [ $newDecimals = false]  )

generates php native number format (dot)

Parameters:
string/float   $number:  number
   $newDecimals: 

API Tags:
Return:  false / formated number


[ Top ]
makeNum  [line 100]

boolean/array makeNum( string $number, [format $format = ','], [ $decimals = 2]  )

generates formated number

Parameters:
string   $number:  date
format   $format:  format
   $decimals: 

API Tags:
Return:  false/date array


[ Top ]
makeNumOnly  [line 124]

boolean/array makeNumOnly( string $number, [format $format = ',']  )

generates formated number without decimal limit

Parameters:
string   $number:  date
format   $format:  format

API Tags:
Return:  false/date array


[ Top ]


Documentation generated on Sun, 09 Sep 2007 17:09:14 +0200 by phpDocumentor 1.3.1