NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

zero padding
14826 zero padding http://www.maxxblade.co.uk/bits/leading_zero.php The following function is used when you need to format a number to be 2 digits regardless of the value. For example the number in question is "1" but you wish it to be displayed as "01" to maintain layout or number formatting. This is commonly used when formatting a time or date. Adding a leading zero is sometimes referred to as "zero padding". JavaScript > Tips and Tutorials > Text Effects Oct 12, 2006 MaxxBlade

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark zero padding:


Average Registered User Rating: 3.00 3.00 (out of 5)
Number of review: 1 Reviews

Review by cmoh456 (date: 05-Feb-2007)
Subject: good
Comment: i hope you can give me more
Rating:

Other links at JavaScript > Tips and Tutorials > Text Effects
The String object of JavaScript allows you to perform manipulations on a stored piece of text, such as extracting a substring, searching for the occurrence of a certain character within it etc.
Category:

String handling basically means the dissecting and manipulation of a piece of string (not to be confused with string formatting). Some people devote their entire careers to this task, though as JavaScripters, we aren't known to exhibit such loyalty to the topic (or any other, for that matter!). In this tutorial, we'll look at the methods of the String object that deal with string handling, such as looking up a particular substring within a string, splitting it into many, and more.
Category:

In order to do this, you need the script! This script is basically a little program that sits on your page and performs tricks when you ask it to. It is different from an applet in that it accompanies the HTML page, whereas the applet is its own small object-oriented program.
Category:

Regular expressions are a powerful tool for performing pattern matches in Strings in JavaScript. You can perform complex tasks that once required lengthy procedures with just a few lines of code using regular expressions. Regular expressions are implemented in JavaScript in two ways:
Category:

The following function is used when you need to format a number to be 2 digits regardless of the value. For example the number in question is "1" but you wish it to be displayed as "01" to maintain layout or number formatting. This is commonly used when formatting a time or date. Adding a leading zero is sometimes referred to as "zero padding".
Category:




Main Category
185
2034
801
286
174
1803
1129
909
1161
7393
70
905
59
2200
174

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19262
Categories: 1275
Registered Users: 737
Mailing List Subscribers: 2044
Unique Outgoing Hits: 228449

Pagerank Statistics
PR 10
2 site(s)
PR 9
9 site(s)
PR 8
38 site(s)
PR 7
291 site(s)
PR 6
828 site(s)
PR 5
2012 site(s)

PHP News