I want to have a simple division formula with round integer result like “7 / 2 = 3”, and according to this article, it seems like we have to do it in “7 \ 2” in VB.
But this happens when I perform UiPath (and in Windows Explorer and some other apps) that when I type '' it becomes ‘¥’ (I think it’s because I’m having the PC set in Japanese setting, all the folder path is becoming like “C:¥Users¥Administrators¥Desktop”. Any workaround to this?
Hello @whyyouandi just set your formula to clipboard with Set to Clipboard activity and pass hotkey Cntrl + v to paste your formula in desired fields. It is working for me.
How about Math.Round(1/10) ? I think it should work.
=edited=
Sorry I misunderstood your question.
In my case, backslash works perfect; 101\10 returnes 10.
I’m Japanese and of course my PC set in Japanese setting, so I guess there’s mistake on your flow.
Would it be possible to attach your workflow or screenshot?
Thank you @a-taniya, when I tried it in another PC, the operation still showed as “1¥10” when I typed “1\10” but it worked fine with no error, can’t comprehend why, but it just worked.
The property send windows message of Type into activity must be enable. Try Disabling it, Other wise just write your text into a notepad and send hotkeys ctrl +x close application, go to the text input area of any application, send hotkeys ctrl+v.