I am trying to use a modified javascript value to calculate a percentage of a number. The numbers are stored in a field as an input data type. As I don’t see a suitable function built-in, please advise on how to achieve this

For example:

Numbers are 4000,3500,2700 etc and the percentage I want to calculate for all is 10%.