Baanboard.com

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

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
17%
500 - 800 GB
6%
800 - 1200 GB
6%
1200 - 1500 GB
17%
1500 - 2000 GB
17%
> 2000 GB
22%
Total votes: 18

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 14th May 2018, 19: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
  #2  
Old 14th May 2018, 21:09
vinceco252's Avatar
vinceco252 vinceco252 is offline
Guru
 
Join Date: Mar 2002
Location: Frederick, CO
Posts: 414
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.

Thanks,

Vince
__________________
Vincent Murphy
---------------
ERP Practice Manager / Senior Consultant
OST
vmurphy@ostusa.com
Reply With Quote
Sponsored Links
  #3  
Old 14th May 2018, 21: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
Reply


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 11:51
Is Invensys really planning to sell Baan? baanassist General Discussion & Chat 10 3rd September 2002 18:29
Baan World Users conference in Orlando chadwickh General Discussion & Chat 7 3rd November 2001 21:55
Availability of Web-Based DEM (Baan Press Release) Pierre B. General Discussion & Chat 0 5th September 2001 05:59
BSP-US (LLC) added as a Baan Education Alliance svandenh General Discussion & Chat 1 20th August 2001 19:44


All times are GMT +2. The time now is 07:56.


©2001-2018 - Baanboard.com - Baanforums.com