Alberto Di Berardino
The information is over the world
Home
Blog
I miei lavori
Arrotonda
Notizie
04-03-2013
Come arrotondare un numero
Inserire il seguente codice in una funzione javascript: function arrotonda(numero, posDecimali){ var numeroArrotondato = Math.round(numero * Math.pow(10, posDecimali)) / Math.pow(10, posDecimali); return numeroArrotondato; } var num...
I miei blogs
Android
|
Css
|
JavaScript
|
Linux
|
MySql
|
Php
|
Windows
Lista tags
Android
|
Apache
|
Css
|
Html
|
JavaScript
|
Key code
|
Lamp
|
Linux
|
MySql
|
Php
|
Sito web
|
Windows