Fix the calculator
The calculator generates the roof slope scheme based on sizes from:
data-size
<option value="Діамант" data-size="1.10">Diamond - 1.10</option>
<option value="Яспіс" data-size="1.05">Jasper - 1.05</option>
<option value="Rubin" data-size="1.02">Ruby - 1.02</option>
<option value="Sapfir" data-size="1.085">Sapphire - 1.085</option>
<option value="Nefrit" data-size="1.17">Nephrite - 1.17</option>
<option value="Agat" data-size="1.14">Agate - 1.14</option>
<option value="ПК20" data-size="1.10">PK20 - 1.10</option>
<option value="ПК35" data-size="1.045">PK35 - 1.045</option>
<option value="ПК45" data-size="1.10">PK45 - 1.10</option>
<option value="ПК57" data-size="0.997">PK57 - 0.997</option>
For example, if the width is 10 and the slope is Diamond - 1.10 = 10 x 1.05 = 11, the result should be 11 slopes, but the scheme draws as 10
rounding the fraction up
The calculator on the website: Turnkey construction | Sale of building materials | House build Company
Applications 1
Client's review of cooperation with Vladislav K.
Fix the calculatorGreat job, I recommend
Freelancer's review of cooperation with Andrey A.
Fix the calculatorThe collaboration went wonderfully: clear technical task, adequate requirements, and timely payment. Andriy was always in touch and responded quickly.
-
277 1 0 Good day!
I understand that the calculator is currently calculating the number of slopes incorrectly because it does not use the value from data-size, but instead simply takes the width and does not round up.
I can fix this logic: make the calculation multiply the width by the appropriate value from data-size, and round the result up (Math.ceil), so that the number of slopes is correct.
The cost of this work is 400 UAH. I am ready to start immediately.
Waiting for your confirmation to begin.
-
357 I guarantee the high-quality completion of the work.
The price is currently reduced because I am just starting to develop my profile and aim to earn a positive reputation. Your order will be completed with special attention to detail.
-
412 3 0 Hello. I have reviewed your task. It seems that the calculator incorrectly takes the coefficient value from the data-size attribute or applies it incorrectly when calculating the number of slopes. It is also possible that the rounding is not upwards, but downwards or not performed at all.
If you provide the current calculator code, I can quickly find the error and make corrections.
I look forward to working together!
-
245 4 0 Good afternoon! Contact me privately! I will be glad to cooperate!!!)
-
3356 70 1 Ready to correct inaccuracies with the calculator.
I will carefully review and find exactly where the inaccuracy is
-
466 7 0 If still relevant - I can take a look.
Although I think it calculates correctly:
> "width 10 and the slope of the Diamond - 1.10 = 10 x 1.05 = 11"
On the contrary, the width of the slope should be DIVIDED by the width of the strip, rounding up (as it is now)
10/1.05=9.52=10
-
6958 102 0 Hello, I have over 11 years of experience, I will do it as high quality as possible
-
326 1 0 Good day! Ready to complete your order — I will do everything qualitatively and on time. I can start today.
-
480 2 0 Good
I will do it promptly
extensive experience in development and reading other people's code
-
602 8 0 Good day!
Write in private messages. I will do it quickly. I indicated the price.
-
2638 427 9 1 I can help with this script, just need to see an example of your test visually
-
943 6 0 Good afternoon, write now I will do it quickly, maybe if needed we will improve it a little bit
-
2245 22 0 Good day, Andriy. This is just an incorrect rounding method in the code. Write to me, I will fix everything now.
-
350 1 0 Hello!
I am ready to fix the calculator on the website.
Feel free to contact me.
-
189 Thank you for the detailed task description! I am ready to undertake it. I will resolve the issue with calculating the number of slopes so that the calculator correctly considers the values from data-size and accurately rounds the result upwards (Math.ceil). I guarantee a quality and precise result.
-
350 I'll do it, write to me and I'll start working immediately!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
12335 96 0 Good day. Write, I will fix the calculator, check the correctness of the work
-
2656 40 0 I will do it. I will do it. I will do it. I will do it. I will do it. I will do it. I will do it.
I will do it. I will do it. I will do it. I will do it. I will do it. I will do it. I will do it.
-
3020 73 4 2 Good day! Contact me!!!!!! I will do it today!!!!!!!!!!!!!!!!!!!!!!!!!!
-
506 6 1 Good afternoon. I am interested in your task. I will do it qualitatively and on time. Please write to me in private messages to discuss the details.
-
3340 147 4 1 Good day.
I can fix it.
If you have any questions, you can write to me in private messages.
Current freelance projects in the category HTML & CSS
Redesign and relaunch of the Brovchak Family Dental Care clinic websiteRedesign and Relaunch of the Brovchak Family Dental Care Website http://brovchak-clinic.com.ua/ terms of reference from SEO expert https://docs.google.com/spreadsheets/d/17_WyPf3XVpzbuBjpJ7MNFs12QUL-aHv7iIbKudY-IEw/edit?gid=0#gid=0 https://miro.com/app/board/uXjVHXxFvIE=/About… HTML & CSS, Search Engine Optimization (SEO) ∙ 1 day 5 hours back ∙ 46 proposals |
I want to learn how to create websites for CS:GO/CS2I need a mentor who will teach me how to create a CS2/CS:GO server. I want to go through step by step via Discord/Zoom: hosting/VPS, server.cfg, maps, plugins, admin panel, ban system, Discord, website, and statistics. Language: Ukrainian or Russian. HTML & CSS, Web Programming ∙ 1 day 7 hours back ∙ 12 proposals |
Ищу программиста или вайб кодинг Автоматизация scraping данныхמחפש מתכנת או תומך בקידוד וייב. גירוד נתונים אוטומטי. https://drive.google.com/file/d/1Ogsx2iyahw79sleaDEUwMnSTPHhwF3Nu/view?usp=sharing HTML & CSS, Web Programming ∙ 2 days 6 hours back ∙ 39 proposals |
SCSS HTML JS FIGMA Layout
22 USD
Need a layout of the template from Figma without dev mode. Well-structured SCSS, responsive at your discretion, everything by sections. If you use Claude code, that's a big plus. It needs to be done by yesterday. Please specify the price. Need to start today and finish as soon… HTML & CSS ∙ 2 days 16 hours back ∙ 81 proposals |
WordPress website online store
445 USD
A good website is needed (on WordPress) for an online store (selling CBD products in the USA).The category is competitive, with many photos/many products, it needs to be original. There is some kind of technical specification. Later, it will need to be promoted on social media… HTML & CSS ∙ 2 days 17 hours back ∙ 64 proposals |