Skip to content
Browse files

Update description

  • Loading branch information...
1 parent de1d632 commit d91a88318edae1c27af4daaf0e71754897219e1d @pvorb committed Feb 26, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 README.mkd
  2. +1 −1 package.json
View
4 README.mkd
@@ -12,8 +12,10 @@ pad numbers with leading zeros.
numpad(x, digits);
```
+Returns a string that is padded with leading zeros.
+
* `x` Number
-* `digits` Number of digits
+* `digits` Number of digits (defaults to 2)
## Usage
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "numpad",
- "description": "numpad",
+ "description": "padding for numbers",
"author": "Paul Vorbach <paul@vorb.de> (http://vorb.de/)",
"tags": [ "integer", "padding" ],
"version": "0.0.0",

0 comments on commit d91a883

Please sign in to comment.
Something went wrong with that request. Please try again.