Even better... var fixCost = parseInt(document.t.fc.value);
For floats, there's parseFloat() -Rob > On 20020703.1411, Benjamin Huot said ... > > It's not im my book Javascript Goodies. It uses Javascript 1.0. > What version of Javascript supports valueOf? > What would be the syntax - I would need another function, right? > > Ben
