Template::Plugin::Lingua::EN::Fractions - TT2 interface to Lingua::EN::Fractions module
[% USE Lingua.EN.Fractions -%] [% checksum = content FILTER fraction2words -%] [% checksum = content.fraction2words -%]
The Lingua::EN::Fractions Template Toolkit plugin provides access to the Lingua::EN::Fractions module functions, to translate number values to their names.
When you invoke
[% USE Lingua.EN.Fractions %]
the following filters (and vmethods of the same name) are installed into the current context:
Converts a fraction (such as 3/4) into English text (such as "three quarters").
Barbie <email@example.com> 2014
Andrew Ford for writing Template::Plugin::Lingua::EN::Inflect, which inspired this module.
Neil Bowers for creating Lingua::EN::Fractions, and giving me the idea to add another distribution to my new Template Toolkit plugins collection, which I've recently taken over from Andrew Ford.
Copyright (C) 2014-2015 Barbie for Miss Barbell Productions.
This distribution is free software; you can redistribute it and/or modify it under the Artistic Licence v2.