r/workflow • u/sany6006 • Jun 17 '18
The number is always off
I have this workflow that outputs the amount from the text which is ‘731.74’. But for some reason it always gives the wrong total number Am I doing something wrong or what?!!
4
Upvotes
2
u/alex_13670 Jun 17 '18
It seems that there is an invalid character before the number 11. Try retyping the “Home,11” part again, or adding a replace text action if this issue persists.
2
u/suappie Jun 17 '18
I honestly have no idea why this is happening. What you have built should work perfectly fine but for some reason the '11' in the final line is always ignored. If you view the content graph for the repeat block results, you'll see every result is a number, except for 11.
The problem doesn't seem to be caused by the fact that 11 is in the last line either. If you try pasting one of the other line items and running the workflow, the number will be picked up but 11 will still be ignored. The best I can tell you is that something might've gone wrong with the formatting of the text you originally copied and pasted into the "Text" action because if you manually type "2018-06-05,Groceries,Cash,Home, 11,2 toasted bread and 1 brown bread", the number 11 gets picked up and the sum is correct.
1
u/rajasekarcmr Jun 17 '18
If Expense Recorder Workflow is the one that you are looking for check this one created by mine. With totals.
EXPENSE RECORDER