Inspired through this question: General Q. and the solution which tresesco provided in the sub-link: how to convert number into words I thought that must be (easier) possible with QlikView itself. At first I considered to split the number with a while-loop and catch to each single-number then a mapping-value. But because of the slight inhomogeneity from the spelling words to the numbers it would be some checking with if-loops necessary. Therefore I deceided to make it more simple. It needs only two small mapping-tables and a preceeding-load in which each word-part oft he number will be separate generated and afterwards simple string-concatenated and a little bit cleaned.
This example is restricted to numbers < 1M but the logic could be extended. I hope I have caught every possibility by the translation - but don't hesitate if you find a error or if you have ideas for improvements. And this is the result:
Map_FirstNumbers: mappingLoad * Inline[ FirstNumbers, Text 1, one 2, two 3, three 4, four 5, five 6, six 7, seven 8, eight 9, nine 10, ten 11, eleven 12, twelve 13, thirteen 14, fourteen 15, fifteen 16, sixteen 17, seventeen 18, eighteen 19, nineteen 20, twenty ];