Friday, 13 April 2018

mapinfo - Avoiding divide by zero in MapBasic?


In select statement how to avoid divide by zero in MapBasic:


select (col1/col2) "result"


If col2 is 0 it returns null.


How to use ISNULL or something in mapbasic?




No comments:

Post a Comment