- UID
- 2
- 积分
- 2874634
- 威望
- 1387346 布
- 龙e币
- 1487288 刀
- 在线时间
- 13156 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
【SnapFundValid】
- Inputs: Field(NumericSimple);
- SnapFundValid = True;
- If Field = -99999 Then
- SnapFundValid = False
- Else
- begin
- condition1 = AbsValue(Field + 999990) < 0.0001 ;
- If condition1 Then
- SnapFundValid = False
- Else
- begin
- condition1 = AbsValue(Field + 99999999) < 0.0001
- OR AbsValue(Field + 99999.999) < 0.0001 OR AbsValue(Field + 999.999) < 0.0001 ;
- If condition1 Then
- SnapFundValid = False
- Else
- begin
- condition1 = AbsValue(Field + 99999998) < 0.0001
- OR AbsValue(Field + 99999.998) < 0.0001 OR AbsValue(Field + 999.998) < 0.0001 ;
- If condition1 Then
- SnapFundValid = False
- Else
- begin
- condition1 = AbsValue(Field + 99999997) < 0.0001
- OR AbsValue(Field + 99999.997) < 0.0001 OR AbsValue(Field + 999.998) < 0.0001 ;
- If condition1 Then
- SnapFundValid = False
- Else
- begin
- condition1 = AbsValue(Field + 999.99) < 0.001 ;
- If condition1 Then
- SnapFundValid = False;
- end;
- end;
- end;
- end;
- end;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|