TiKu
06-09-2013, 09:13 AM
Hi,
I've added a custom field 'ivw_code' to the 'forum' table. It is of type VARCHAR(25). If I call 'fetch_foruminfo' for a forum which has set this field to '12E03611', the returned array will contain the field as float(INF) instead of a string. This does not happen if I tell fetch_foruminfo to not use the cache, but read from the database.
So VB somewhere tries to be smart and converts the string to a float because of the 'E' in it. How can I avoid this?
Regards
TiKu
I've added a custom field 'ivw_code' to the 'forum' table. It is of type VARCHAR(25). If I call 'fetch_foruminfo' for a forum which has set this field to '12E03611', the returned array will contain the field as float(INF) instead of a string. This does not happen if I tell fetch_foruminfo to not use the cache, but read from the database.
So VB somewhere tries to be smart and converts the string to a float because of the 'E' in it. How can I avoid this?
Regards
TiKu