Help language development. Donate to The Perl Foundation

Ops::SI cpan:TYIL last updated on 2018-04-21

Ops-SI-0.1.1/

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.