PHP Classes

File: przyklad.php

Recommend this page to a friend!
  Classes of Rafal Antczak  >  Say PHP PLN Converter  >  przyklad.php  >  Download  
File: przyklad.php
Role: Example script
Content type: text/plain
Description: Example of class usage
Class: Say PHP PLN Converter
Spell amounts of the zloty currency in Polish text
Author: By
Last change: Wersja 2
Date: 2 years ago
Size: 266 bytes


Class file image Download

include 'SayPLN.class.php';

$amount = 9123.45; // kwota z?otych - liczbowo

$slownie = new SayPLN();

'Kwota: ' . str_replace('.', ',', $amount) . ' z?<br>';

'Slownie: ' . $slownie -> SlownieZlotych($amount);


For more information send a message to info at phpclasses dot org.