Jussi, Gambas 3.2.1 for Lucid from kendek's ppa. PS I've found another solution to the requirement: convert the Float value to a string & check on the length of the number of digits before the decimal point by use of Len, Mid & Instr functions. -- Regards, John +44 1902 331266 +44 7894 211434