Closed

Javascript

This project received 14 bids from talented freelancers with an average bid price of $157 USD.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Total Bids
14
Project Description

I need a bit of javascript for a pdf for I'm working on.

The issue structure:

Category Once Twice Three Four Five Six Seven

8 56 112 168 224 280 336 392

6 42 84 126 168 210 252 294

4 28 56 84 112 140 168 196

2 14 28 42 56 70 84 98

I have a form that calculates a number based on other factors. I need to display "[url removed, login to view]" the most efficient category. For instance I get the number 84 the most efficient output to display is "6 twice"

Another example.... I get the number 28 the most efficient category is 4 once. You see, although 84 will fit into 2-6 and 4-3 it's best home is 6-2.

Let me know if you see a more efficient method rather than "if else"

Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online