|
|
Q1494 How can I round numbers with the decimal accuracy specify, correctly. When using Math.ceil it rounds always upwards i.e. 123.1234 (3 decimals) rounds to 123.124 although it shoud be 123.123?
irt.org | Knowledge Base | JavaScript | Date | Q1494 [ previous next ] Q1494 How can I round numbers with the decimal accuracy specify, correctly. When using Math.ceil it rounds always upwards i.e. 123.1234 (3 decimals) rounds to 123.124 although it shoud be 123.123?Try:
Feedback on 'Q1494 How can I round numbers with the decimal accuracy specify, correctly. When using Math.ceil it rounds always upwards i.e. 123.1234 (3 decimals) rounds to 123.124 although it shoud be 123.123?' |
-- div -->
|