Search found 4 matches
- Wed Sep 21, 2011 1:26 pm
- Forum: Beginners
- Topic: What's the difference between Trunc and Int?
- Replies: 2
- Views: 10169
Thank you, JRL. Your Delphi Basics link was very useful. In this link I found too a good explanation about Round function: === The Round function rounds a floating point Number to an Integer value. The rounding uses Bankers rules, where an exact half value causes a rounding to an even number: 12.4 r...
- Tue Sep 20, 2011 10:46 pm
- Forum: Beginners
- Topic: What's the difference between Trunc and Int?
- Replies: 2
- Views: 10169
What's the difference between Trunc and Int?
For a widely range of values tested by me in Macroscheduler (positive and negative values), Trunc and Int functions returns a same integer value. If possible, I wish a example where Trunc and Int evaluates in a different integer value. In addition, never occured in my tests a round operation in both...
- Fri Aug 19, 2011 7:59 am
- Forum: Technical / Scripting
- Topic: Problems with point and comma.
- Replies: 2
- Views: 3180
- Tue Aug 16, 2011 6:59 am
- Forum: Technical / Scripting
- Topic: Problems with point and comma.
- Replies: 2
- Views: 3180
Problems with point and comma.
Please, help me. I wrote this code in Macroscheduler: ReadIniFile>c:\Parâmetros.ini,PorcentagemStop Robô,PorcentagemDoStop,PorcentagemStop Let>PorcentagemStop=%PorcentagemStop%/100 MessageModal>%PorcentagemStop% The value in parameter PorcentagemDoStop in .ini file is 0.1. Sometimes the MessageMod...