附上Flexsim对fmod命令的解释。 & j2 H3 h2 }7 g, L[size=13.3333px][size=1.1em]fmod [size=1.1em](num value1, num value2)8 G) u% e4 F; p; {1 {1 @7 ^
Remainder of value1/value2 as a double$ Z3 ]2 l* i3 C1 [ @" i Description $ U1 g# G7 }0 c |: X4 o9 e) y: aRemainder of value1/value2. fmod returns the floating-point remainder of value1 / value2. If the value of b is 0.0, fmod returns a quiet NaN. This command is great for getting a repeating set of numbers because no matter what value1 is, so long as value2 is unchanged, fmod will return a set of numbers that keeps repeating itself.作者: 慧娴亚伦 时间: 2017-5-26 16:37
哈哈哈,我把这种找规律类型的处理叫做“小学奥数”,一些应用策略会带有这样的过程。作者: lulu-luka 时间: 2017-5-27 00:41
Mark~谢谢加老师的分享~