Composition of numbers JavaScript
The task is to extract the price number by adding +50.that is.For example, it is 100 to the top and 150 to the bottom.Here is the part of the code responsible for the conclusion below, you need to sign it to issue 150
$ (function )
$('#tab-order table').after('');
$('#simple_custom_order').load('index.php?route=module/simple/custom&token=&type=order&id=', function(response){
var tel = $(response).find('#tel_ship').text();
var price = $(response).find('#posrednik_summa').text();
var name = “;
if(tel.length > 0) {
$('#track').attr('value', tel + ' + name).css('background', '#e6f1ff');
The
if(price.length >0) {
$('#price_track').text(price)
The
and the
The elementary task is confident
I banally wrote $('#price_track').text(price*50);I get down 50,000 that is.100*50, but I don’t need multiplication, I need composition, and the composition operation doesn’t work.The task is to get 150.
Client's review of cooperation with freelancer
Composition of numbers JavaScriptThe task was very simple though. But the answer was given correctly very quickly. thank you.
Freelancer's review of cooperation with Maks Lev
Composition of numbers JavaScriptОтличный заказчик. Четкое тз и быстрая оплата
![]()
-
1 day1 USD
195 37 0 1 1 day1 USDCall to
- - - - - - - - - - -
-
281 5 0 Good day ! I do for rejection.
Write to:
Telegram: https://t.me/vitaliy_webmaster
-
1 day1 USD
12761 600 0 1 day1 USD👋Good day !I will resolve your task quickly.⚡turn to
by: [email protected]
Telegram: https://t.me/EvgeniyVorobev🔥
-
1 day1 USD
146 11 0 1 day1 USDHello, ready to do it. I do it quickly. Ready to Start Now
-
$('#price_track').text(price+50);
-
$('#price_track').text(+price+50); -
Тот случай, когда комменты интересней, чем ТЗ.
-
Можно просто использовать Number или parseFloat.
$('#price_track').text(Number(price)+50);или
$('#price_track').text(parseFloat(price)+50); -
Current freelance projects in the category Javascript and Typescript
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 3 hours 30 minutes back ∙ 3 proposals |
Online clothing storeNeed a developer for an online clothing store Looking for an experienced developer to create a full-fledged online clothing store with a drop model of sales. What needs to be done: 6 pages: home, product, cart, checkout, account, admin panel Login via Google account Cart and… HTML & CSS, Javascript and Typescript ∙ 2 days back ∙ 94 proposals |
Full-stack development — Amazon PPC Dashboard (Stage 1)Need a full-stack developer with experience working with Amazon API to implement Stage 1 of the internal PPC dashboard. The project is real, the data is live, everything is ready to start. Frontend prototype (5 pages, React + TypeScript): WHAT IS ALREADY READY — Frontend… Javascript and Typescript, Web Programming ∙ 4 days 11 hours back ∙ 31 proposals |
Development of a photo book and photo frame constructor websiteProject Goal A modern website needs to be developed for ordering photo books, photo frames, and other personalized photo products. The main task of the project is to provide the client with the ability to independently create a ready-made layout of the product directly on the… Javascript and Typescript, Web Programming ∙ 6 days 3 hours back ∙ 98 proposals |
Team for a custom marketplace of funeral services.We are looking for a team to launch and develop a custom national marketplace for funeral services. Right away: we are not looking for solo freelancers, juniors, or "website builders." We need a strong product team at the middle+/senior level with real cases in… Javascript and Typescript, Web Programming ∙ 6 days 22 hours back ∙ 27 proposals |