If the JavaScript gets a "0" it convents it to a boolean false. So to ensure the GUI always get valid int we cast the values.
If the JavaScript gets a "0" it convents it to a boolean false. So to ensure the GUI always get valid int we cast the values.