@fredmvJan 15.2004 — #JavaScript doesn't support genuine typecasting, however, it has methods in which allow you to convert variables to different data types. In this example, if you want the value of the form element to be treated as a number, you have quite a few options, one being the [font=courier]Number[/font] constructor:var x = Number(document.screen2.cust.value);