Fixed a bug in the XULTextBox; The value of the textbox with as type num...

This bug fixed a problem in the xul textbox with as type "number". The value was incorrect if you are using the function value().

See for more information: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/Numeric_Controls