Understanding Numbers in Firebird SQL
from
Mind The Firebird