mercredi 19 juin 2019

add numbers in different ways to a given sum in javascript

/I have the following issue; fixed sum substract of floats in numbers = rest. //console.log should give a new order of numbers/

var Nummer= [0.99, 1.99, 2.99, 3.99, 4.99, 5.99, 6.99, 7.99, 8.99, 9.99];
var summe= [30];


[30]

[0.99,
1.99,
0.99,
4.99,
6.99,
1.99,
2.99,
5.99,
4.99,
1.99,
0.99,]

[1.1]




Aucun commentaire:

Enregistrer un commentaire