 @param {Object|null} options - The Numbo options object.
 @return {string|null} - e.g. 'one hundred point two three', or null if detects error.
 ###
-export default (input, options = { type: 'number' }) ->
+export default (input, options = defaultOptions) ->
 	if input is '' then return null
 	if input is '1e+100' then return 'Ding! One Google... Oops... One Googol!!'
 	if check(input) is false

			if dollars is '' then ''
			else ' and '
		output = int + dollars + andWord + dec + cents
	# adjust the output according to `options`
	output =
		if options is 'cheque'
			if output is 'Null'
				'Null'
			else
				output + ' Only'
		else if options is 'amount'
			output
				.replace(' and No Cent', '')
				.toLowerCase()

		(int + dec).toLowerCase()

# Main function 2 of 2
###
Convert numerical amount to written text.
@param {string} str - The input in string.
@param {type} type - Either 'amount' or 'cheque':
	- 'amount': some dollars and some cents.
	- 'cheque': Some Dollars and Some Cents Only.
@param {boolean} zeroCent - When zero cent:
	- true: "and no cent"
	- false: "and zero cent"
###
speakAmt = (str, type, zeroCent) ->
	if str is '0' then output = 'Null'
	else
		dollarUnit = ['Dollar', 'Dollars']
