PHP Classes

File: kstring.example.php

Recommend this page to a friend!
  Classes of Nithin T A   Number To Words   ???   Download  
File: ???
Role: Example script
Content type: text/plain
Description: Examle file to use kitowords
Class: Number To Words
Spell numbers with English words
Author: By
Last change: Fractional part speaking has changed from "one twenty three" to "one two three"
Date: 12 years ago
Size: 777 bytes
 

Contents

Class file image Download
<?php
   
/*
     *
     * Kiyo: An open source web application framework.
     *
     * @author Kiyo Team <[email protected]> | Nithin TA<[email protected]>
     * @copyright Copyright (c) 2011 by http://www.nexche.com
     * @license http://kiyo.nexche.com/license
     * @link http://kiyo.nexche.com
     */
   
    /*
     * To Submit bugs, comments, feedbacks or anything please use the following email addresses.
     *
     * Kiyo Team <[email protected]>
     * Nithin TA <[email protected]>
     */

   
include 'kstring.php' ;

    echo
KString::kiToWords('1024') ; //Thousand And Twenty Four
   
echo '<br/>' ;
    echo
KString::kiToWords('1234567890.123') ; //Billion And Two Hundred And Thirty Four Million And Five Hundred And Sixty Seven Thousand And Eight Hundred And Nenety Point One Two Three
?>