Sha256: 560029b2cb4a4d76d26bb4f18a5d199fd6be5763615b792d8d1fb863dc171710

Contents?: true

Size: 722 Bytes

Versions: 1

Compression:

Stored size: 722 Bytes

Contents

# Papla

Papla is a Ruby gem that allows you to convert numbers into Polish words (e.g. `153` into `"sto pięćdziesiąt trzy"`), including the decimal part as cents and currency symbol. Its primary use case are invoices, where the total amount has to be displayed as words at the bottom line.

## Basic examples

```ruby
Papla[158] # => 'Sto pięćdziesiąt'
Papla[1_234] # => 'Tysiąc dwieście trzydzieści cztery'
Papla[987_654_321] # => 'Dziewięćset osiemdziesiąt siedem milionów sześćset pięćdziesiąt cztery tysiące trzysta dwadzieścia jeden'
```

## Cents and currency

This feature is planned for future releases.

## Integration with Money, I18n and Rails

This feature is planned for future releases.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
papla-0.0.1 README.md