Posts by Zed • 73 points
1 post
-
7
votes2
answers198
viewsQ: How to capture the last three digits of a number in Javascript?
Is there any Javascript function that captures from the last character? For example: var n = 200100; I want to get only the 3 numbers from the last character. In the example above, I would give 100.…
javascriptasked Zed 73