Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start getting offers from freelance performers within minutes after posting!

Give the calculator formula

Translated8 USD

Client's feedback on cooperation with Aleksandr L.

Quality
Professionalism
Price
Availability
Terms

Everything is fast and I will be glad for further cooperation.

Freelancer's feedback on cooperation with Artem Frolov

Payment
Task formulation
Requirements
Availability

I am very pleased with cooperation, everything is clear and fast. pleasant to deal. I hope for further cooperation and I recommend it to everyone. Thank you !

  1. 14093
     443  1

    Winning proposal1 day8 USD

    Hello to you!
    Please contact me, I will draw out the formula and make a calculator.
    _________________________________
    Scape: Prof-studio 1
    Здравствуйте!
    Обращайтесь, выведу формулу и сделаю калькулятор.
    _____________________
    Скайп: profi-studio1

  2. 348    10  0
    1 day6 USD

    I am ready to fulfill your task. You just need to clarify: in what form do you want to have the formula?
    Calculator can also be done, but again the question is: in what form?
    Я готов выполнить ваше задание. Потребуется только уточнение: в какой форме вы хотите иметь формулу?
    Калбкулятор тоже можно сделать, но опять вопрос: в каком виде?

  3. 84    3  0
    1 day6 USD

    I will perform
    выполню

  4. 2 more hidden bids
  • Sergey Morlang
    4 September 2015, 14:40 |

    Так собственно функция есть на сайте

    function modify_qty(val) {


    var peptidmg = parseInt(document.getElementById("peptidmg").value, 10);

    var ml = parseInt(document.getElementById("ml").value, 10);

    var dozen = parseInt(document.getElementById("dozen").value, 10);

    var new_qty100 = dozen/(((peptidmg*1000)/ml)/100);

    var new_qty40 = dozen/(((peptidmg*1000)/ml)/40);


    document.getElementById("result100").value = new_qty100;

    document.getElementById("result40").value = new_qty40;

    var yourImg = document.getElementById('lin100');

    if(yourImg && yourImg.style) {

    yourImg.style.height = 15 +'px';

    yourImg.style.width = (4.68*new_qty100) +'px';

    }

    var yourImg2 = document.getElementById('lin40');

    if(yourImg2 && yourImg2.style) {

    yourImg2.style.height = 15 +'px';

    yourImg2.style.width = (8.3*new_qty40) +'px';

    }

    return new_qty100;

    return new_qty40;

    }

  • Sergey Morlang
    4 September 2015, 14:42 |

    А если убрать все лишнее то вот она:

    function modify_qty(val) {

    var peptidmg = parseInt(document.getElementById("peptidmg").value, 10);

    var ml = parseInt(document.getElementById("ml").value, 10);

    var dozen = parseInt(document.getElementById("dozen").value, 10);

    var new_qty100 = dozen/(((peptidmg*1000)/ml)/100);

    var new_qty40 = dozen/(((peptidmg*1000)/ml)/40);

    return new_qty100;

    return new_qty40;

    }

  • Victor Petrov
    4 September 2015, 14:55 |

    вообще то функция возвращает только одно значение.

    впервые вижу функцию в которой два рета.

  • Sergey Morlang
    4 September 2015, 15:18 |

    Это копипаст со страницы.

    В нормальных языках, возвращать несколько результатов это нормально 😉

  • Victor Petrov
    4 September 2015, 16:55 |

    В любых нормальных языках ФУНКЦИЯ возвращает всегда только одно значение. Возвращаемое значение может быть ссылкой на массив значений, или на объект - но это уже другой вопрос.

    Дело в том что здесь будет работать только первый return - вот что я хотел донести.

  • Sergey Morlang
    7 September 2015, 8:36 |

    Давайте еще раз. Это копипаст с РАБОЧЕГО сайта, и оно РАБОТАЕТ. А про возвращаемые значения, почитайте, откроете для себя много нового 🙂

  • Victor Petrov
    7 September 2015, 10:33 |

    Видите ли, аргумент "рабочего" или "работает" вообще не доказывает ничего в данном случае, т.к. второй ритурн попросту не выполняется, а работать может и криво написанный код. Что забавно, старикан Аристотель насчитал у мух восемь ног. И даже в Средние Века это заблуждение стойко держалось в умах и кочевало из книги в книгу, хотя опровергнуть его можно было путём элементарной поимки мухи и подсчёта у неё ног, не отходя от кассы. Так и здесь - бездумный копипаст якобы "работающего" кода очень веселит людей, освоивших программирование хотя бы в объеме первого курса института. Лично я программирую уже больше 20 лет, и про возвращаемые значения вполне могу Вам столько рассказать, сколько Вам до этого и не снилось. Однако в данном случае просто тыкну в первое же попавшееся сюда тыц, где Вы, надеюсь, сможете прочитать что "При вызове оператора return в функции, выполнение этой функции прекращается.". Не знать таких элементарных вещей, уважаемый, и расписать у себя в резюме владение С# и "Прикладным программированием" - ну я даже не знаю, какое тут покультурнее слово можно подобрать...

  • Sergey Morlang
    7 September 2015, 10:38 |

    Проехали. Вот, для общего развития: https://msdn.microsoft.com/ru-ru/library/t3c3bfhx....

    Удачи.

  • Victor Petrov
    7 September 2015, 10:40 |

    И чо?

Current freelance projects in the category Application programming

Develop a smart home on Raspberry.

make friends with some touch screen with raspberry When the screen is loaded, there should be 10 pictures and all when you click on the picture with the image of a light bulb, signal 3v one should be when you click on the picture with the image of a kettle, signal 3v another…

Application programming

Set up the feed for exporting goods from Horoshop to Kasta

Set up a feed for exporting products from an online store on the Horoshop platform to Kasta, according to Kasta's requirements and instructions. 4-5 product categories, up to 50 products per category.

Data parsingApplication programming ∙ 2 proposals

Make importing goods to the Simpla website and updating them

Good day, you need to import goods from the upload. There are different upload formats - csv, xml, xls. Also, it is necessary to update the availability of goods from Google Sheets.

Web programmingApplication programming ∙ 2 proposals

Internet page with testing and results in the form of a diagram

Need to create a web page (there is a site, the site is on Tilda), on which - first, the user will be offered a test (see the attachment) - as a result of the test, a report will be created, similar to this one…

Web programmingApplication programming ∙ 2 proposals

Write a TikTok video auto-poster.

THE WORK NEEDS TO BE DONE QUICKLY AND QUALITATIVELY! NAME YOUR PRICE! you need to write a program for uploading videos to TikTok. uploading both real-time and scheduled posts. ability to use proxies. ability of multi-threaded uploading details will be discussed in…

Application programmingSystem programming

Client
Artem Frolov
Ukraine Kyiv  14  0  1
Project published
8 years ago
286 views
Labels