Article View: es.comp.os.linux.programacion
Article #16830Re: Redondeo en operaciones en bash
From: Han Solo
Date: Sun, 19 Mar 2000 00:00
Date: Sun, 19 Mar 2000 00:00
36 lines
1452 bytes
1452 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Han Solo <hsolo@maptel.es> writes: enes, necesitamos 4 �ndices. > > Y la pregunta es: �Hay manera de que al dividir (($numimg / 5)) > redondee al siguiente entero?�Hay forma de saber si ese cociente tiene > resto? Me respondo a m� mismo: El operador que da el resto, es %. Con esto ya puedo evaluar si hay que sumar un �ndice mas, pero si alguien sabe como hacer un redondeo al siguiente entero, pues mejor. - -- Un Saludo Han Solo The Rebel Alliance Conecto, luego existo. Desconecto, luego insisto. Soy usuario de infobirria+ P.D. La firma no es m�a, sino de uno que trabajaba, precisamente, en M$. Vivir para ver. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/> iEYEARECAAYFAjjU0rcACgkQ4FjpJaPEp23MOACguFMSGZRdAf4cByO/VFIP7rcQ XqMAnA+7CMcL2Ttp69KUAaxz5J3JbnL/ =ZkLX -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<871z57ksp2.fsf@alderaan.maptel.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8766ukz8gk.fsf@alderaan.maptel.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,6a5a56b96706d4e0 X-Google-Attributes: gidf86c8,public From: Han Solo <hsolo@maptel.es> Subject: Re: Redondeo en operaciones en bash Date: 2000/03/19 Message-ID: <871z57ksp2.fsf@alderaan.maptel.es> X-Deja-AN: 599524506 References: <8766ukz8gk.fsf@alderaan.maptel.es> Organization: The Rebel Alliance X-Server-Date: 19 Mar 2000 13:14:33 GMT Newsgroups: es.comp.os.linux.programacion