how to disable Invalid floating point operation(100分)

  • 主题发起人 主题发起人 zxwmail
  • 开始时间 开始时间
Z

zxwmail

Unregistered / Unconfirmed
GUEST, unregistred user!
alway show,but i dont know how to disable ,the program will halt,
but i want program to continue run ,help me
 
check ur codes, make sure there's no things like 3.2*5/0 appeared.
if u mean StrToFloat, then u can try to use TextToFloat to instead(this function
return False instead of raise exceptions if the Text u've given can't be changed into
float value).
 
check array which u use in ur codes but out of index
 
pay attention to NULL fields!
it will conduce CORE DUMP
 
接受答案了.
 
后退
顶部