Ahess97
-
Posts
2 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Ahess97
-
-
Hello,
I am attempting to create a NPS calculator in Alfred where I only have to enter the numbers with command and it provides the score for me. (For context, this website has the formula on the bottom.) I believe based on the error log I am getting, it is something with the Script I have set up using bin/zsh.
Is anyone able to provide some assistance? Thanks in advance!
Austin
PS: Here are the test numbers I am using starting with 0 (red) and going to 10 (green): 1,0,0,0,0,2,1,4,2,4,26
NPS Calculator Workflow
in Workflow Help & Questions
Posted
Thank you! That is super helpful to know how terminal and scripts differ.
One final question: my output has many 0s following the NPS score. (65.00000000000000000000). I think using the transform function using regex would solve this problem, but I don't know much about regex