Question : codeigniter round off function
Answered by : navjot-singh-j6nzmskv4s4h
// THIS METHOD ROUNDOFF THE PRICE
function roundoff($value) { $value = $value * 20; $near_int = round($value); $round = $near_int / 20; return $round;
}
Source : | Last Update : Thu, 24 Feb 22