Page 1 of 1

decimal places

Posted: Mon Jun 24, 2013 3:19 pm
by oludot5
Hi there, am using the ranfon fixed function and it randomizes my values to 4 decimal places...is ther a way i can make vensim generate the numbers to 2 decmal places.thanks

Re: decimal places

Posted: Mon Jun 24, 2013 3:30 pm
by Administrator
You could multiply by 100, use INTEGER, and divide by 100.

value rounded to 2dp = INTEGER ( value to round * 100)/100

Re: decimal places

Posted: Mon Jun 24, 2013 10:37 pm
by oludot5
thanks a lot, it works. pls how do I insert the delay symbol in my model?

Re: decimal places

Posted: Tue Jun 25, 2013 1:08 am
by tomfid
If you mean the crosshatch delay mark on arrows, right-click the arrow and check the "delay" box.

Re: decimal places

Posted: Tue Jun 25, 2013 11:14 am
by oludot5
thanks