You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Patrick Spek 742aba8502
Bump version to 0.1.1
11 months ago
lib/Ops Initial commit 1 year ago
t Fix tests that rely on buggy Num stringification 11 months ago
.editorconfig Initial commit 1 year ago
.gitignore Initial commit 1 year ago
.travis.yml Initial commit 1 year ago
CHANGELOG.md Bump version to 0.1.1 11 months ago
LICENSE.txt Update LICENSE 1 year ago
META6.json Bump version to 0.1.1 11 months ago
README.md Add a README file 1 year ago

README.md

Ops::SI

Add postfix operators for SI prefixes.

Installation

Installation can be done through zef:

$ zef install Ops::SI

Usage

In your Perl 6 code, use the module and you’re all set.

use Ops::SI;

dd 1k; # 1000
dd 2T; # 2000000000000
dd 3µ; # 0.000003
dd 4y; # 4e-24

License

This module is distributed under the terms of the AGPL version 3.0. You can find it in the LICENSE file distributed with the module.