Answers for "calculate 1 day interest"

PHP
0

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
?>
Posted by: Guest on October-29-2020

Code answers related to "calculate 1 day interest"

Browse Popular Code Answers by Language