Go Back > Forum > Baan Quick Support: Functional & Technical > Miscellaneous

Maintenance Warning will be unavailable on Saturday 26th of January from 12hrs until Sunday 27 of January at 18hrs (GMT+1) due to infrastructure upgrades.

User login

Frontpage Sponsor


Google search

How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
200 - 500 GB
500 - 800 GB
800 - 1200 GB
1200 - 1500 GB
1500 - 2000 GB
> 2000 GB
Total votes: 42

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 14th May 2018, 20:26
heyitslujan heyitslujan is offline
Junior Member
Join Date: Nov 2016
Posts: 4
heyitslujan is on a distinguished road
Baan: b40x - DB: ? - OS: Windows 7
Comparison of Double Type - Help Appreciated Baan IV
Baan: Other/Unknown
C/S: None/Unknown

Hello All,

Thanks in advance for taking the time to read this. I am currently trying to compile a model and receiving the following error, "Comparison of a double type with a long type may yield unpredictable results". This occured after adding a "val" to an Item Code. I've attached examples. Any feedback/assistance is much appreciated.
Attached Images
File Type: png Error.png (29.5 KB, 11 views)
File Type: png Par Sub.png (56.2 KB, 17 views)
Reply With Quote
Old 14th May 2018, 22:09
vinceco252's Avatar
vinceco252 vinceco252 is offline
Join Date: Mar 2002
Location: Frederick, CO
Posts: 417
vinceco252 is on a distinguished road
Baan: Baan IVc3, IVc4, 5b, 5c, ERP LN 6.1, Infor ERP 10.x - DB: SQL Server, Oracle - OS: Windows, Linux, HPUX, AIX, (a little bit of) Solaris
The first thing is that I would expect, in your example, val to simply return a 0; if the string you are converting has non-numeric characters, val will return 0.


Vincent Murphy
ERP Practice Manager / Senior Consultant
Reply With Quote
Sponsored Links
Old 14th May 2018, 22:57
heyitslujan heyitslujan is offline
Junior Member
Join Date: Nov 2016
Posts: 4
heyitslujan is on a distinguished road
Baan: b40x - DB: ? - OS: Windows 7
Vince, thanks for the response. Is there a statement I can use in the Parameter Sub to return the option description instead of just the option? It would save me loads of time. Again, many thanks.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BaanERP book J-Christ General Discussion & Chat 34 29th August 2013 12:51
Is Invensys really planning to sell Baan? baanassist General Discussion & Chat 10 3rd September 2002 19:29
Baan World Users conference in Orlando chadwickh General Discussion & Chat 7 3rd November 2001 22:55
Availability of Web-Based DEM (Baan Press Release) Pierre B. General Discussion & Chat 0 5th September 2001 06:59
BSP-US (LLC) added as a Baan Education Alliance svandenh General Discussion & Chat 1 20th August 2001 20:44

All times are GMT +2. The time now is 21:49.

©2001-2018 - -