Re: XForms: Input types

Steve Lamont (
Thu, 28 Aug 97 06:30:14 PDT

To subscribers of the xforms list from (Steve Lamont) :

> I was wondering. Do you have to use atof when you are getting data from
> an input box when the input box's data type is float? Is the data box
> type always a string?

Yes and yes.

This is mentioned in the manual although there is a minor error.

At the top of page 132 in the 0.87 manual it says "atoi(3) or
sprintf(3) should be used to convert the string to the proper date
type you need." I believe that should be "atoi(3) or sscanf(3)..."
instead. You may also want to mention atof(3).

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: