rosairekota/convertor

Simple Library to convert number to letter in French, English or Chinesse languages

dev-main 2022-09-23 10:56 UTC

This package is auto-updated.

Last update: 2022-09-27 20:15:55 UTC


README

This library help you to convert numbers to letters.

Languages availables:

  • French (default)
  • English
  • Chinesse

Installation:

composer require rosairekota/convertor

Example

use RosaireKota\Convertor\ConvertNumberToLetters;


$frConvertor = new ConvertNumberToLetters("en"); // the default language is fr
echo $frConvertor->convertNumberToLetters(2000);