.. GetNumber

.. default - domain::js

.. include:: /includes/standard.rst

=======================
GetNumber (Controls.sc)
=======================


Shows an edit box and gets a number from the user.

.. function:: GetNumber(title [defaultNumber])

	:param string title: A title for the dialog.
	:param defaultNumber: An optional default number.

	:returns: A number, or -1 if the user cancelled.


