Questions tagged as 'porcentagem'

1
answer

Percentage in C

Given the following statement:    Write an algorithm to show on the screen whether each N number, typed   by the user is even or odd. The algorithm should also show on the screen   the sum of all even numbers, the sum of all odd numbers,   th...
asked by 14.10.2016 / 17:18
1
answer

Comparing similarity in two arrays!

Good evening guys, I'm having a problem, come on, maybe someone can help me. $array1 = array(); $array2 = array(); foreach ($paper as $p) { $array1[] = $p->title; $array2[] = $p->title; } $nbarray1 = count($array1); $stringSimil...
asked by 23.07.2018 / 06:19
1
answer

Calculation of jQuery threaded percentage

Good I am challenged to calculate the final value of the product on the same page without refresh, with 4 fields of discounts on a gross value presenting the unit and total result (items of a purchase order or invoice regardless of the name attr...
asked by 23.01.2018 / 14:34
1
answer

WebClient C # ending download before downloading

I have a question, I'm using WebClient in C # language, I have the following problem: I click on Download a file, and it does not start downloading, it says download is already finished ... Code: WebClient Web = new WebClient();...
asked by 22.12.2017 / 01:47
0
answers

Calculate average growth percentage with PHP

I have the following json : { "bpi": { "2017-10-31": 21094.2212, "2017-11-01": 22052.8615, "2017-11-02": 22972.5023, "2017-11-03": 23730.9012, "2017-11-04": 24483.4171, "2017-11-05": 24448.8979, "2017-11-06"...
asked by 01.12.2017 / 02:47
1
answer

Calculate percentage

Largura * Complemento = Subtotal + Porcentagem = Total subtotal.Text = (Convert.ToDouble(largura.Text) * Convert.ToDouble(complemento.Text)).ToString(); total.Text = (Convert.ToDouble(subtotal.Text) % Convert.ToDouble(PercaTextBox3.Text)).ToStri...
asked by 05.08.2018 / 18:09
1
answer

How to format a number in percentage within JavaScript?

Gentlemen, I'm developing a billing monitoring dashboard. I want to turn this number 56% directly into my JavaScript code. Here is a snippet of my code, it is fed directly by a query from my SQL. This is the query that feeds my field within J...
asked by 27.07.2018 / 22:12
1
answer

Calculate percentage between 2 numbers

I have to do a percentage system where I have 2 dates in TIMEUNIX , the end date ($cota->ultimo_recebimento) and the current day that I get with the time() function of PHP. I tried to do this: <?php echo ((time() / $c...
asked by 10.02.2016 / 15:32
1
answer

doubts with percent logic [closed]

Hello, I have a question on a percentage problem ... Ana wins R $ 5,000 and Julio earns R $ 9,0000.00. They have a debt of R $ 6,000.00 in common and want to pay this amount in proportion to the amount they receive. How much is the share due to...
asked by 18.07.2018 / 15:53
1
answer

Problem with decimal percentage of processor - JAVA

Good people, the problem is the following, I developed a code to get the percentage used by my application of the processor cores: private String getCPULoad() { OperatingSystemMXBean osBean = (OperatingSystemMXBean) ManagementFactory.getOp...
asked by 12.09.2017 / 03:34