Mini Shell

Direktori : /var/www/vhosts/ccp.ac.th/smtp.ccp.ac.th/httpdocs/new/sp/admin_gard_new/
Upload File :
Current File : /var/www/vhosts/ccp.ac.th/smtp.ccp.ac.th/httpdocs/new/sp/admin_gard_new/function_grade.php

<?php
function strDec($str){
$ex = explode('.',$str);
$s = substr($ex[1],0,2);
if($s == ''){
 $s = '00';
 }
if($ex[0] == ''){
 $ex[0] = '0';
}
$dec =  $ex[0].".".$s;
return $dec;
}

Zerion Mini Shell 1.0