When an expression expects one type of value but receives another, Process
Simulator automatically takes care of converting between the two, so most
often the difference will not matter. However, when Process Simulator
expects
an integer but receives a real value,
it truncates the realvalue at the decimal
point. For example, say the variable Integer1 is assigned the value 3.9, as
in the following statement: Integer1=3.9. The variable Integer1 would hold
the value 3, not 4. To round 3.9 when assigning to an integer
variable would
require the statement, Integer1=Round(3.9).
© 2011 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com