totaldebits points

From CashCrusaderWiki

(Difference between revisions)
Jump to: navigation, search
(totaldebits_points)
Current revision (16:14, 1 May 2010) (edit) (undo)
(totaldebits_points)
 

Current revision

Function totaldebits_points() is used to show sum of point debits from accounting table. The function takes five optional arguments.


Required CashCrusader version: 2.20


Basic usage:

<?php totaldebits_points(); ?>


Example advanced usage with all arguments:

<?php totaldebits_points(0, 1, '.', ',', 0); ?>


Details, from left to right:

0 = Amount of decimals
1 = Number factor
. = Decimal separator
, = Thousand separator
0 = Counter offset

Personal tools
Administration manual