[MONDRIAN-2234] fixed issue with floating point types and val function