Numeros a Letras /

Filename Size Date modified Message
7.6 KB
427 B

widget para Yii que convierte numeros a letras

Utilizacion:

$this->widget('ext.numaletras.numerosALetras', array('valor'=>12.56));

se debe especificar el numero a convertir

esto escribe Doce Con Cincuenta Y Seis Decimales

tambien se puede espeficiar con que termina el numero, ejemplo:

$this->widget('ext.numaletras.numerosALetras', array('valor'=>12.56,'despues'=>'ctvos'));

esto escribe Doce Con Cincuenta Y Seis cvos

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.