How to round a large number in Shell command?
<p>In Mac terminal, I would like to round a large number.</p>

<p>For example,</p>

<p>At 10^13th place:<br>
1234567812345678 --> 1230000000000000</p>

<p>Or at 10^12th place:<br>
1234567812345678 --> 1235000000000000</p>

<p>So I would like to specify the place, and then get the rounded number.
How do I do this?</p>