Skip to content

Instantly share code, notes, and snippets.

@jpederson
Created March 11, 2014 23:37
Show Gist options
  • Save jpederson/9497439 to your computer and use it in GitHub Desktop.
Save jpederson/9497439 to your computer and use it in GitHub Desktop.
Accrue.js basic calculation-only JSON response
{
num_payments: 36,
original_amount: "7500",
payment_amount: 231.5782264902889,
payment_amount_formatted: "231.58",
total_interest: 836.8161536504012,
total_interest_formatted: "836.82",
total_payments: 8336.816153650401,
total_payments_formatted: "8336.82"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment