Login   Register  
PHP Classes
elePHPant
Icontem

File: examples.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Thales Santos  >  Scientific Format  >  examples.php  >  Download  
File: examples.php
Role: Example script
Content type: text/plain
Description: Examples file
Class: Scientific Format
Display numbers in the scientific notation format
Author: By
Last change:
Date: 5 years ago
Size: 172 bytes
 

Contents

Class file image Download
<?php
include('scientific.php');
$test = new scientifc;

$test->set_number(14898);
echo 
$test->get_number();

$test->set_number(50E3);
echo 
$test->get_number();
?>