Useful Links : https://dev.to/deciduously/formdata-in-typescript-24cl - Form Data https://www.freecodecamp.org/news/how-to-format-number-as-currency-in-javascript-one-line-of-code/ - Format number to currency
Formula to calculate monthly loan amout :
M = P(i(1+i)n)/((1+i)n - 1)
M: Monthly loan payment P: Principal amount i: Monthly interest rate (i / 12) n: Total number of months of payments (n x 12)
Add a default value and add non-empty