import module namespace math="http://www.zorba-xquery.com/modules/math"; math:floor(0.234, 0.01) (: Expected output: <?xml version="1.0" encoding="UTF-8"?> 0.23 :)