random – Talk
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
---- | ---- | ||
::Great --[[User:Mr.Peanut|Mr.Peanut]] 20:56, 28 September 2006 (CEST) | ::Great --[[User:Mr.Peanut|Mr.Peanut]] 20:56, 28 September 2006 (CEST) | ||
---- | |||
Unfortunately using ''round'' is no good in OFP, it was only introduced in Arma. | |||
For OFP ''mod'' will need to be used. | |||
[[User:Planck|Planck]] 20:02, 1 January 2007 (CET) |
Revision as of 20:02, 1 January 2007
This page should state whether the set of random numbers has open or closed bounds.
For example, does random 1 yield:
- (0,1)
- [0,1)
- (0,1]
- [0,1]
where ( , ) denote open {up to but not including boundary values} bounds and [ , ] denote closed {including boundary values} bounds. --Mr.Peanut 20:56, 28 September 2006 (CEST)
- I have clarified. I would write that interval as <0,1), but for ease of read I prefered to use descriptive words instead. --Suma 18:10, 28 September 2006 (CEST)
- Great --Mr.Peanut 20:56, 28 September 2006 (CEST)
Unfortunately using round is no good in OFP, it was only introduced in Arma. For OFP mod will need to be used.
Planck 20:02, 1 January 2007 (CET)