! Copyright (c) 2009 Samuel Tardieu. ! See http://factorcode.org/license.txt for BSD license. USING: arrays assocs combinators kernel math math.functions math.parser math.text.utils memoize sequences ; IN: math.text.french : number>text ( n -- str ) dup abs 10 102 ^ >= [ number>string ] [ basic ] if ;