# sprintf 1.0.4

Dart implementation of sprintf




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'sprintf:1.0.4'
```
Published: 2013-03-21T22:48:34.480090Z
Expected archive SHA-256: 23567a5a7d33843072459de359fab3c8d0203d5d9a7129191301b2d3484ce230

Available in cache; verification: upstream_checksum
## Direct dependencies

## Package README (untrusted upstream documentation)
dart-sprintf
============

Dart implementation of sprintf.

[![Build Status](https://drone.io/naddiseo/dart-sprintf/status.png)](https://drone.io/naddiseo/dart-sprintf/latest)

Getting Started
---------------

Add the following to your **pubspec.yaml**:

```
dependencies:
  sprintf:
    git: git://github.com/Naddiseo/dart-sprintf.git
```

then run **pub install**.

Next, import dart-sprintf:

```
import 'package:sprintf/sprintf.dart';
```

### Example
```
import 'package:sprintf/sprintf.dart';

void main() {
	print(sprintf("%04i", [-42]));
	print(sprintf("%s %s", ["Hello", "World"]));
	print(sprintf("%#04x", [10]));
}
```

```
-042
Hello World
0x0a
```

Limitations
-----------

* Negative numbers are wrapped as 64bit ints when formatted as hex or octal.

Differences to C's printf

* When using fixed point printing of numbers with large exponents, C introduces errors after 20 decimal places. Dart-printf will just print 0s.

## Changelog







 
