Integer part of divide

Peter Haworth pete at lcsql.com
Sun Apr 13 21:34:34 EDT 2014


I just know this has to be simple but I need to divide one number by
another and get just the integer part of the result.  So 20 / 7 would be 2
for example. I tried setting the number format to "#" but I still get
decimals in the result (that's not right is it?).

For now I'm setting the itemdelimiter to "." and extracting item 1 of the
result of the division.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>



More information about the Use-livecode mailing list