User Tools

Site Tools


jet:working_with_numbers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

jet:working_with_numbers [2016/01/19 18:55] – created leojet:working_with_numbers [2016/01/19 23:57] (current) leo
Line 1: Line 1:
 +|<- [[jet:Working with arrays]]|[[jet:Working with strings]] ->|
 ====Numbers==== ====Numbers====
  
Line 28: Line 29:
 var myNumber = number(foo); // essaie de convertir en nombre var myNumber = number(foo); // essaie de convertir en nombre
 if (isNaN(myNumber)) { console.log("NaN !" }; if (isNaN(myNumber)) { console.log("NaN !" };
 +</code>
  
 ===Math object=== ===Math object===
   - Math.max(a,b,c);   - Math.max(a,b,c);
   - Math.min(a,b,c);   - Math.min(a,b,c);
-</code> 
jet/working_with_numbers.1453226143.txt.gz · Last modified: 2016/01/19 18:55 by leo