This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function pmt(rate, noOfPayments, currentValue, futureValue, type){ | |
| var compoundInterest = Math.pow(1 + rate, noOfPayments); | |
| return -(rate * (futureValue + (compoundInterest * currentValue))) / ((-1 + compoundInterest) * (1 + rate * (type))); | |
| } | |
| var interest = 0.06, // Annual interest | |
| months = 36, // Lifetime of loan (in years) | |
| present = 48790, // Present value of loan | |
| future = 28600, // Future value of loan | |
| beginning = 1; // Calculated at start of each period |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'gform_pre_send_email', function ( $email, $message_format, $notification, $entry ) { | |
| // stuff | |
| }, 10, 3 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .has-sidebar { | |
| > div:nth-child(1) { width: 30% } | |
| > div:nth-child(2) { width: 70% } | |
| } | |
| .has-split-view { | |
| > div:nth-child(1), | |
| > div:nth-child(2) { width: 33% } | |
| > div:nth-child(3) { width: 34% } | |
| } |