Javascript sprintf JavaScript script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: javascript-sprintf.html?webtoolkit.sprintf.js
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: JavaScript
  • Price:Freeware
  • Company: webtoolkit (View more)

Javascript sprintf script description:



Javascript sprintf is a JavaScript script for Development Tools scripts design by webtoolkit. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Javascript sprintf is a limited implementation of sprintf function in Javascript.

Publisher review:
Javascript sprintf is a limited implementation of sprintf function in Javascript. Several programming languages implement a sprintf function, to output a formatted string. It originated from the C programming language, printf function. Its a string manipulation function. This script is a limited sprintf Javascript implementation. Function returns a string formatted by the usual printf conventions. See below for more details. You must specify the string and how to format the variables in it.Possible format values: - %% - Returns a percent sign - %b - Binary number - %c - The character according to the ASCII value - %d - Signed decimal number - %f - Floating-point number - %o - Octal number - %s - String - %x - Hexadecimal number (lowercase letters) - %X - Hexadecimal number (uppercase letters) Additional format values. These are placed between the % and the letter (example %.2f): - (Forces both and - in front of numbers. By default, only negative numbers are marked) - - (Left-justifies the variable value) - 0 zero will be used for padding the results to the right string size - [0-9] (Specifies the minimum width held of to the variable value) - .[0-9] (Specifies the number of decimal digits or maximum string length) - If you plan using UTF-8 encoding in your project don't forget to set the page encoding to UTF-8 (Content-Type meta tag)
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

Apple prepares iPhone 5 and iOS 6

Apple prepares iPhone 5 and iOS 6

New information coming from some sources close to Apple confirming that the Cupertino giant is testing two different models of iPhone, called internal iPhone5, 1 and iPhone 5.2. Apparently, both devices have a screen of 3.95 inches and a resolution of 113

Posted on: 24 May 2012 08:36 by A. Brown

Windows 8 estimates: 500 million users in 2013

Windows 8 estimates: 500 million users in 2013

Microsoft expects to launch a new wave of optimism with Windows 8. In a recent statement, Steve Ballmer, chief executive at Microsoft, estimates that Windows 8 will reach a total of about 500 million users by the end of 2013.

Posted on: 24 May 2012 08:25 by A. Brown

SPREAD THE WORD

User Rating

Javascript sprintf
Rating: 2.0 out of 5
Based on 1 ratings. 1 user reviews.

  • Currently 2.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5