replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: Search
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 4 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: What is the nearest integer that NINT() rounds to?
AlisonV

Replies: 13
Views: 17115

PostForum: Support   Posted: Fri Sep 18, 2015 2:02 am   Subject:
Thanks heaps mecej4 and everyone! Removing the brackets did allow a larger value to be divided by the 100.0, resulting in the desired answer of 32 for both the DLL and EXE. I am now getting the same ...
  Topic: What is the nearest integer that NINT() rounds to?
AlisonV

Replies: 13
Views: 17115

PostForum: Support   Posted: Thu Sep 17, 2015 9:46 am   Subject:
I've totally missed PaulLaidler's post above. Below is part of the .lis file for the main subroutine when running it within the DLL. Any suggestions as to a solution would be welcome!

Thanks agai ...
  Topic: What is the nearest integer that NINT() rounds to?
AlisonV

Replies: 13
Views: 17115

PostForum: Support   Posted: Wed Sep 16, 2015 4:14 am   Subject:
Thanks Everyone. I'm sure precision must play a part in this .. but this happens dependent on whether the code is compiled by Silverfrost as a DLL or EXE. All other compiler settings are the same (as ...
  Topic: What is the nearest integer that NINT() rounds to?
AlisonV

Replies: 13
Views: 17115

PostForum: Support   Posted: Tue Sep 15, 2015 12:27 am   Subject: What is the nearest integer that NINT() rounds to?
realvar = 31.5
intvar = NINT(realvar)

When I compile these lines into a DLL (which is called by a C# GUI), intvar shows the value 31.
When I compile these lines as part of an EXE, intvar shows th ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group