Skip to content

Commit

Permalink
Actualización Versión Estable
Browse files Browse the repository at this point in the history
  • Loading branch information
Grupo Altum authored and Grupo Altum committed Feb 13, 2023
1 parent aa86bb8 commit c225b10
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ vendor
/.fleet
/.idea
/.vscode
/.DS_Store
.fleet
.idea
.vscode
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ Convierta de manera sencilla números a letras (Solo en idioma Español), esta l
## Instalación
# Instalar a través de Composer

```sh
composer require rmunate/spell-number
```console
composer require rmunate/spell-number 1.0.x-dev
```

## Generalidades

- El número entero más grande aceptado es 999999999999999999
- El decimal más grande aceptado es 99
- El método `->current('PESO')` asigna una S o ES al final en caso de que el numero sea mayor a 1, de no usarse, usará el valor PESO / PESOS
Expand All @@ -34,7 +33,7 @@ composer require rmunate/spell-number
| ``` SpellNumber::float('1000.50')->currency('DOLAR')->fraction('CENTAVO')->toMoney() ``` | Retorna el valor en letras "Capital Case" como valor de "en este caso Dolares y Centavos" en letras. |

# Ejemplo de Uso
```sh
```php
SpellNumber::float('2000,50')->currency('Sol')->fraction('Centimo')->toMoney();
// "Dos Mil Soles Con Cincuenta Centimos"

Expand All @@ -44,7 +43,6 @@ SpellNumber::float('2000,50')->toMoney();
```

## Desarrollador(es)

- Ingeniero, Raúl Mauricio Uñate Castro
- [email protected]
- (Se reciben recomendaciones y mejoras al correo electronico.)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rmunate/spell-number",
"description": "Convierta de números a letras, ideal para uso en facturas, remisiones o similares.",
"description": "Convierta de números a letras, ideal para uso en facturas, remisiones ó similares.",
"keywords": [
"letras",
"numeros",
Expand Down
3 changes: 2 additions & 1 deletion src/SpellNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
* V 1.0.0
*/

class SpellNumber {
class SpellNumber
{

/* Propiedades Inicializador */
private static $type;
Expand Down

0 comments on commit c225b10

Please sign in to comment.