Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

calculate 1 day interest

#How to calculate 1 day Interest by php 
<?php 
  $amt = 2000;
  $int = 12;
  $days = 30;
  $months= 12;
  $calc = ($amt * $int/100)/ $months / $days;
  echo $calc

#output = 0.66
?>
 
PREVIOUS NEXT
Tagged: #calculate #day #interest
ADD COMMENT
Topic
Name
3+5 =