Looks like you're using a script object with a custom function called number2text().
Without knowing that function, it's impossible to say why it wouldn't work.
Open the form in Acrobat an press [Ctrl]+[J] to open the JavaScript console. Check if any error message appears when you execute the function.