PHP Classes

File: def_currency_display.php

Recommend this page to a friend!
  Classes of Stephane Mouton   Currency Display & Convert   def_currency_display.php   Download  
File: def_currency_display.php
Role: ???
Content type: text/plain
Description: Some predefined values as basic example of Currency Display class
Class: Currency Display & Convert
Currency conversion and display with locale format
Author: By
Last change:
Date: 23 years ago
Size: 905 bytes
 

Contents

Class file image Download
<? // ============================================================================ // ============================================================================ // == Predefined Currencies for use with the CurrencyDisplay class // ============================================================================ // ============================================================================ include "class_currency_display.php"; $c_euros = new CurrencyDisplay("euro", "Euro" ,2,","," ",1,8); $c_euros_netscape = new CurrencyDisplay("euro netscape",'&euro;',2,","," ",1,8); $c_euros_explorer = new CurrencyDisplay("euro explorer",'&#128;',2,","," ",1,8); $c_francs = new CurrencyDisplay("french franc", "FF",2,","," ",1,8); $c_euros_gif = new CurrencyDisplay("euro",'<img src="euro.gif" alt="" width=10 height=10 border=0>',2,","," ",1,8); ?>