decimal places

Use this forum to post Vensim related questions.
Post Reply
oludot5
Member
Posts: 23
Joined: Thu Aug 16, 2012 12:01 pm
Vensim version: PLE+

decimal places

Post 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
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: decimal places

Post by Administrator »

You could multiply by 100, use INTEGER, and divide by 100.

value rounded to 2dp = INTEGER ( value to round * 100)/100
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
oludot5
Member
Posts: 23
Joined: Thu Aug 16, 2012 12:01 pm
Vensim version: PLE+

Re: decimal places

Post by oludot5 »

thanks a lot, it works. pls how do I insert the delay symbol in my model?
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: decimal places

Post by tomfid »

If you mean the crosshatch delay mark on arrows, right-click the arrow and check the "delay" box.
oludot5
Member
Posts: 23
Joined: Thu Aug 16, 2012 12:01 pm
Vensim version: PLE+

Re: decimal places

Post by oludot5 »

thanks
Post Reply