when i pass the value to the code am getting below error
if( null(ac!convertWord_txt), "zero", convertnumbertoword( trim(split(ac!convertWord_txt, ".").[1]), "" ) )
what might be the issue here
Discussion posts and replies are publicly visible
That plugin is not updated since 2017....
What is the functionality that you need to implement? Maybe we can find way to do it...
if i pass the integer it has to give me the word of the integer
200 if i pass it should give me two hundred
I think that the easiest way would to convert the number to text , and implement the same logic in you own rule, but using the value casted.... in that way you won't have that kind of problems.
Do you need details about how it the smart service works?
the Data base has 200000000 only but when i query, the query is giving the exponent value
Is convertWord_txt a number? If so, try this
if( null(ac!convertWord_txt), "zero", convertnumbertoword(fixed(ac!convertWord_txt, 0,false), "" ))
That query does NOT return anything as an "exponent value"! Really!
but in our case it is returning
This works fine for me
still this is giving error
these type of values i get from query have to convert the values to word
Are you using the code posted by Mathieu or by me? Could you post the way you are doing it please?
The problem in this case probably could be related with the way you are receiving the values...
Just change the input to an array and add a forEach.
I have tired your code only
this worked for me
fixed() returns a string. Not a numerical value.
thanks i have added to integer it is working now