Feature idea: new helper / utility for returning percentage from two values #49761
Unanswered
sts-ryan-holton
asked this question in
Ideas
Replies: 3 comments 5 replies
-
Sounds more of a Number thing. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You'd probably want to
|
Beta Was this translation helpful? Give feedback.
4 replies
-
I'm curious about |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Hi,
I'd like to propose a new feature request for being able to return a percentage back when two inputs are given. In my example, I've created a function in my application that's globally accessible but wondered if this kind of function could be ported into a nice helper or utility for Laravel, for example:
Here's my function:
In this example, given the following:
I've created a demo here
I was hoping Laravel could introduce some utility like:
Beta Was this translation helpful? Give feedback.
All reactions