|
That’s a weird bug. It’s
apparently interpreting the E as an exponent, as in 104=104e0. If you prefix the values in the IF tag with
an ascii character it should
work properly. -----Original Message----- Hello, I ran into the following problem on Witango running on
solaris against sybase: I have a varchar(10) field called room in a table
called hosts. I have a form with the following select field: <@assign scope=request name=room value='<@COLUMN "hosts.room">'> <SELECT
NAME="room" ID="room" SIZE=1> The rooms array consists of the following values:
This works fine to display the correct room number when
changed unless I select room 104. If I select room 104 and enter, '104' is
entered in the database, but the form displays '104E'. The view source of the
form below shows why. Both 104 and 104E are selected, and the last one is
displayed. <SELECT NAME="room" ID="room"
SIZE=1>
</SELECT> Since this only occurs with room numbers with an E at
the end, I assume Witango is doing some kind of conversion where it reads both
104 and 104E as the same number. Has anyone run into this. Is there an elegant fix?
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
Title: String Conversion Problem
- RE: Witango-Talk: String Conversion Problem David Shelley
- RE: Witango-Talk: String Conversion Problem Robert Shubert
- RE: Witango-Talk: String Conversion Problem Ben Johansen
