Opened 12 years ago
#150 new defect
Round() function doesn't work
Reported by: | Samuel B. Atlan | Owned by: | Rafael de Pelegrini Soares |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | EMSO | Version: | 0.10.3 |
Keywords: | Cc: |
Description
Hi, having problem with Round(Z) function which should give the small integer value of Z: The code breaks. In the documentation, Round() returns an integer, but defining n_period as an Integer doesn't change anything.
Model test1
VARIABLES
n_period as Real (Brief="period number");
EQUATIONS
n_period = round(time);
end
FlowSheet? test_F
DEVICES
Feed as test1;
OPTIONS
end
Note: See
TracTickets for help on using
tickets.