Change from String manipulation to Int manipulation in nanosecond calculation
Change from String manipulation to Int manipulation in nanosecond calculation

This improves performance.
`repeatElement(10, count: 9 - length).reduce($0, *)` is also faster than `$0 * Int(pow(10, Double(9 - length))`.

jpsim/Yams,jpsim/Yams,jpsim/Yams