Mini Tuition Calculator

 

Members

globalFees

A global variable to hold the total fees.

globalTuition

A global variable to hold the total tuition.

json_data

Holds the data from Google Sheets.

keys

Hold the keys from Google Sheets.

rows

Holds the rows from Google Sheets.

Methods

TotalEst()

Calculates the total estimated cost based on the input credit hours.

getProgramCosts()

Retrieves the program costs for the current program code.

loadCacl()

Loads the tuition calculator.

numberWithCommas(x) → {string}

Converts a number to a string with commas as thousands separators.
Parameters:
Name Type Description
x number The number to convert.
Returns:
The number as a string with commas.
Type
string

sortJSON(data)

Sorts the JSON data from Google Sheets and processes it into rows.
Parameters:
Name Type Description
data Object The data from Google Sheets.