## GNU sed, <s>17</s> 14 + 1(r flag) = 15 bytes

*Edit: -2 bytes thanks to Riley*

<!-- language: lang-sed -->

    s:.*([^0]):\1:

It works by deleting everything until the right-most nonzero digit, which is then printed along with possible trailing zeros. The script can also handle multiple inputs, one per line.

[**Try it online!**](https://tio.run/nexus/bash#K05NUdAtUlD/X2ylp6URHWcQq2kVY2j1X/2/IZcRl6EBlyGQtuQyNuCytARyQXwgbWTAZQRkmxiAxIwMAA) (all test examples)