codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Find Percentage of a number

    7th July 2014

    Random Coding

    random coding category codehaven

    If I have £95,353.00 and I have spent £50,000
    What is the percentage?

    =(£95,353.00/£50,000)*100
    Gives me 52.43%

    Was this code snippet helpful?