Avançar para o conteúdo principal

Mensagens

A mostrar mensagens de janeiro, 2020

Javascript - Round number

Just to present a simple function (read somewhere from the net...) that i use to round numbers. Enter a number (num) and how many decimal places (precision). Apresento uma função simples (lida de algures na internet...) que uso nos meus programas para arredondamentos. Entre o número (num) e quantos décimais deseja (precision). function Arredonda(num, precision) {     precision = Math.pow(10, precision)     return Math.ceil(num * precision) / precision }

New App - Railway Calculator

Railway Calculator is a free app to calculate dynamic parameters. Is useful to calculate dynamic parameters, according the European Standard EN 13803. The user enter some data, and the app can calculate: - Clothoid Length. - Vertical radius. - Equilibrium Cant. - Lateral acceleration. Railtrack Calculations. https://play.google.com/store/apps/details?id=com.coimbras.Railway