- UID
- 2
- 积分
- 2892947
- 威望
- 1396505 布
- 龙e币
- 1496442 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
【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;
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|