IntelDigital Posted January 18, 2018 Share Posted January 18, 2018 Hi, I've tried to create my own workflow for calculating VAT and showing it in dynamically, but I can't work it out. Can someone do this for me so I can understand how it's done? . Basicallty I was trying to use PHP to a calculation, if I typed in for example 500 it would show the result of 500 / 1.2 * 0.2 and give me how much VAT would be. I do this so I know how much VAT to put to one side on every transaction but it's annoying to keep typing out the full equation every time when of course, this is what Alfred is built for! Productivity! If anybody could help I'd be so thankful. Link to comment
raguay.customct Posted January 19, 2018 Share Posted January 19, 2018 I created a simple example. I used Ruby and no libraries to make it as fast as possible. It's just three lines of code and that could be reduced down, but be less readable. You can get it here: https://github.com/raguay/MyAlfred/blob/master/Alfred 3/VATCalculator.alfredworkflow Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now