Forum
Subscribe


The Cash Earnings output field

The Cash Earnings field is used to show members how much they have in personal cash earnings.

    This output field has four variables:

  • number of decimal places (default is '4')
  • cash factor (of units represented - dollars, cents, etc; default is '100' for dollars)
  • decimal point or comma ('.' for point is the default)
  • 1000's separator character ('.' for comma is default)
  • Examples:

  • Default format: 1,000.0000 (1 thousand)
  • <? cash_earnings ('3','100','.','');?> would look like this: 1000.000