/* Decoded by unphp.net */
?>
'Zero',
1 => 'One',
2 => 'Two',
3 => 'Three',
4 => 'Four',
5 => 'Five',
6 => 'Six',
7 => 'Seven',
8 => 'Eight',
9 => 'Nine',
10 => 'Ten',
11 => 'Eleven',
12 => 'Twelve',
13 => 'Thirteen',
14 => 'Fourteen',
15 => 'Fifteen',
16 => 'Sixteen',
17 => 'Seventeen',
18 => 'Eighteen',
19 => 'Nineteen',
20 => 'Twenty',
30 => 'Thirty',
40 => 'Forty',
50 => 'Fifty',
60 => 'Sixty',
70 => 'Seventy',
80 => 'Eighty',
90 => 'Ninety',
100 => 'Hundred',
1000 => 'Thousand',
1000000 => 'Million',
1000000000 => 'Billion',
1000000000000 => 'Trillion',
1000000000000000 => 'Quadrillion',
1000000000000000000 => 'Quintillion'
);
if (!is_numeric($number)) {
return false;
}
if (($number >= 0 && (int) $number < 0) || (int) $number < 0 - PHP_INT_MAX) {
// overflow
trigger_error(
'convert_number_to_words only accepts numbers between -' . PHP_INT_MAX . ' and ' . PHP_INT_MAX,
E_USER_WARNING
);
return false;
}
if ($number < 0) {
return $negative . convert_number_to_words(abs($number));
}
$string = $fraction = null;
if (strpos($number, '.') !== false) {
list($number, $fraction) = explode('.', $number);
}
switch (true) {
case $number < 21:
$string = $dictionary[$number];
break;
case $number < 100:
$tens = ((int) ($number / 10)) * 10;
$units = $number % 10;
$string = $dictionary[$tens];
if ($units) {
$string .= $hyphen . $dictionary[$units];
}
break;
case $number < 1000:
$hundreds = $number / 100;
$remainder = $number % 100;
$string = $dictionary[$hundreds] . ' ' . $dictionary[100];
if ($remainder) {
$string .= $conjunction . convert_number_to_words($remainder);
}
break;
default:
$baseUnit = pow(1000, floor(log($number, 1000)));
$numBaseUnits = (int) ($number / $baseUnit);
$remainder = $number % $baseUnit;
$string = convert_number_to_words($numBaseUnits) . ' ' . $dictionary[$baseUnit];
if ($remainder) {
$string .= $remainder < 100 ? $conjunction : $separator;
$string .= convert_number_to_words($remainder);
}
break;
}
/* if (null !== $fraction && is_numeric($fraction)) {
//$string .= $decimal;
$words = array();
foreach (str_split((string) $fraction) as $number) {
$words[] = $dictionary[$number];
}
// $string .= implode(' ', $words).' Cents';
}*/
return $string;
}
//$Amount_number = '1000000.50';
//$Amount_words = convert_number_to_words($Amount_number).' Pesos Only ';
$cents_decimal = strchr($CTCI, ".");
$result = str_replace(array('.', ' '), '', $cents_decimal);
$Amount_words1 = convert_number_to_words($CTCI);
if($cents_decimal==''){
$Amount_words = $Amount_words1.' Pesos Only';
}else{
$Amount_words = $Amount_words1.' Pesos and '.$result.'/100 Only';
}
?>
st";
}elseif(date('d')=='02' || date('d')=='22'){
$Sup = "nd";
}elseif(date('d')=='03' || date('d')=='23'){
$Sup = "rd";
}elseif(date('d')=='04' || date('d')=='05' || date('d')=='06' || date('d')=='07' || date('d')=='08' || date('d')=='09' || date('d')=='10' || date('d')=='11' || date('d')=='12' || date('d')=='13' || date('d')=='14' || date('d')=='15' || date('d')=='16' || date('d')=='17' || date('d')=='18' || date('d')=='19' || date('d')=='20' || date('d')=='24' || date('d')=='25' || date('d')=='26' || date('d')=='27' || date('d')=='28' || date('d')=='29' || date('d')=='30') {
$Sup = "th";
}else{}
?>
";
?>
Print Business Certificate
~ o ~ o ~ 0 ~ o ~ o ~
By the Authority of the :
CTC | : |
Place Issued | :
|
Date/Time | :
|
O.R. No. | : |
Amount Paid | : |
| Note: Not valid without seal. |